diff options
author | Daniel Kahn Gillmor <[email protected]> | 2017-01-04 13:31:06 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2017-01-04 18:18:04 +0000 |
commit | 38671cfe5a2a40bb991619f4cb992c42b5f1e8cd (patch) | |
tree | ae5eac8d7ef9a01b18d62cb7330b4111497ef6b2 /g10/trustdb.c | |
parent | doc: Add release announcement pointers to NEWS entries. (diff) | |
download | gnupg-38671cfe5a2a40bb991619f4cb992c42b5f1e8cd.tar.gz gnupg-38671cfe5a2a40bb991619f4cb992c42b5f1e8cd.zip |
g10: avoid warning when --disable-tofu
If configured with --disable-tofu, we see compiler warnings about an
unused variable. This should remove those warnings.
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r-- | g10/trustdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index d402cb2ba..c113b7e9d 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), |