1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpgsm: Silence a lint warning

* sm/keydb.c (keydb_search): Init skipped.
--

Skipped is not actually used.
This is part of
GnuPG-bug-id: 7129
Reported-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Werner Koch 2024-05-28 17:08:12 +02:00
parent 4c1b007035
commit 28c705a3be
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1611,7 +1611,7 @@ keydb_search (ctrl_t ctrl, KEYDB_HANDLE hd,
KEYDB_SEARCH_DESC *desc, size_t ndesc) KEYDB_SEARCH_DESC *desc, size_t ndesc)
{ {
gpg_error_t err = gpg_error (GPG_ERR_EOF); gpg_error_t err = gpg_error (GPG_ERR_EOF);
unsigned long skipped; unsigned long skipped = 0;
int i; int i;
if (!hd) if (!hd)