diff options
author | Werner Koch <wk@gnupg.org> | 2024-05-28 17:08:12 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-05-28 17:08:12 +0200 |
commit | 28c705a3be5c4aec477719d652b503568abc88a0 (patch) | |
tree | 0551e98e710eaf752409257d16cdd306afa3e50d /sm | |
parent | scd: Avoid buffer overrun with more than 16 PC/SC readers. (diff) | |
download | gnupg2-28c705a3be5c4aec477719d652b503568abc88a0.tar.xz gnupg2-28c705a3be5c4aec477719d652b503568abc88a0.zip |
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>
Diffstat (limited to 'sm')
-rw-r--r-- | sm/keydb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keydb.c b/sm/keydb.c index 151ae8103..9d704a110 100644 --- a/sm/keydb.c +++ b/sm/keydb.c @@ -1611,7 +1611,7 @@ keydb_search (ctrl_t ctrl, KEYDB_HANDLE hd, KEYDB_SEARCH_DESC *desc, size_t ndesc) { gpg_error_t err = gpg_error (GPG_ERR_EOF); - unsigned long skipped; + unsigned long skipped = 0; int i; if (!hd) |