[git] GnuPG - branch, master, updated. gnupg-2.1.17-34-g38671cf
by Daniel Kahn Gillmor
cvs at cvs.gnupg.org
Wed Jan 4 19:18:51 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via 38671cfe5a2a40bb991619f4cb992c42b5f1e8cd (commit)
from 588121c158384b05099388097053d8d1e8bdf143 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 38671cfe5a2a40bb991619f4cb992c42b5f1e8cd
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Wed Jan 4 08:31:06 2017 -0500
g10: avoid warning when --disable-tofu
If configured with --disable-tofu, we see compiler warnings about an
unused variable. This should remove those warnings.
diff --git a/g10/trustdb.c b/g10/trustdb.c
index d402cb2..c113b7e 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -1002,9 +1002,9 @@ tdb_get_validity_core (ctrl_t ctrl,
ulong recno;
#ifdef USE_TOFU
unsigned int tofu_validity = TRUST_UNKNOWN;
+ int free_kb = 0;
#endif
unsigned int validity = TRUST_UNKNOWN;
- int free_kb = 0;
if (kb && pk)
log_assert (keyid_cmp (pk_main_keyid (pk),
-----------------------------------------------------------------------
Summary of changes:
g10/trustdb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list