g10: Avoid undefined behavior.
authorJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 14:48:01 +0000 (15:48 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 19 Nov 2015 14:48:01 +0000 (15:48 +0100)
commit52f7f195b119dc01bdf3ae200fdc8e04a0bb9bcb
treeadeda290f4507c35d93e65bca58db8cb0c91fbf1
parent6a37b45a7f13cf5d2ae7d6c9cd796a4bd197b80d
g10: Avoid undefined behavior.

* g10/trust.c (clean_one_uid): Avoid a computation involving an
uninitialized value.
--
Found using the Clang Static Analyzer.

Signed-off-by: Justus Winter <justus@g10code.com>
g10/trust.c