mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10: avoid warning when --disable-tofu
If configured with --disable-tofu, we see compiler warnings about an unused variable. This should remove those warnings.
This commit is contained in:
parent
588121c158
commit
38671cfe5a
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user