1 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2 Date: Wed, 4 Jan 2017 08:31:06 -0500
3 Subject: g10: avoid warning when --disable-tofu
5 If configured with --disable-tofu, we see compiler warnings about an
6 unused variable. This should remove those warnings.
8 (cherry picked from commit 38671cfe5a2a40bb991619f4cb992c42b5f1e8cd)
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/g10/trustdb.c b/g10/trustdb.c
14 index d402cb2ba..c113b7e9d 100644
17 @@ -1002,9 +1002,9 @@ tdb_get_validity_core (ctrl_t ctrl,
20 unsigned int tofu_validity = TRUST_UNKNOWN;
23 unsigned int validity = TRUST_UNKNOWN;
27 log_assert (keyid_cmp (pk_main_keyid (pk),