gpg: Silence two more warnings.
authorWerner Koch <wk@gnupg.org>
Sun, 18 Oct 2015 18:17:24 +0000 (20:17 +0200)
committerWerner Koch <wk@gnupg.org>
Sun, 18 Oct 2015 18:17:24 +0000 (20:17 +0200)
commitc2c400714854d5a127a6966200d345d0d6cfc7d4
tree0ef16ef2c7e4bc2a959317afe2822f0fe858409d
parent558bcd43ae0a841cf1e58e06f5d72a19d5bc70cd
gpg: Silence two more warnings.

* g10/trustdb.c (tdb_get_validity_core): Silence a warning.
* g10/tofu.c (tofu_register): Move SIG_DIGEST computation to the top
so that it is not uninitialized in case of an early error.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/tofu.c
g10/trustdb.c