diff options
author | NIIBE Yutaka <[email protected]> | 2022-09-14 02:48:42 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-09-14 03:08:58 +0000 |
commit | 3d7dbf16618db4d0dc602daadbde098d4a14b528 (patch) | |
tree | 455db0a589aaaed3657f475bd88400ceafd4b045 /scd/app-sc-hsm.c | |
parent | tools:gpg-auth: Enhance it to support use case for login. (diff) | |
download | gnupg-3d7dbf16618db4d0dc602daadbde098d4a14b528.tar.gz gnupg-3d7dbf16618db4d0dc602daadbde098d4a14b528.zip |
agent,dirmngr,gpg,scd: Clean up for modern compiler.
* agent/protect.c (agent_get_shadow_info_type): It's a write only
variable, useful for debugging.
* g10/key-check.c (key_check_all_keysigs): Likewise.
* g10/keyedit.c (show_basic_key_info, menu_expire): Likewise.
* scd/app-sc-hsm.c (read_ef_prkd): Likewise.
* dirmngr/crlfetch.c (fetch_next_ksba_cert): Initialize the vars.
* dirmngr/ks-action.c (ks_action_help): Remove unused variables.
* dirmngr/server.c (make_keyserver_item): Likewise.
* dirmngr/validate.c (check_cert_sig): Initialize the variable.
* scd/app-p15.c (select_and_read_record): Likewise.
* tests/gpgscm/scheme.c (scheme_init_new): A function with no args.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app-sc-hsm.c')
-rw-r--r-- | scd/app-sc-hsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/app-sc-hsm.c b/scd/app-sc-hsm.c index 1ca709f72..c57ba345e 100644 --- a/scd/app-sc-hsm.c +++ b/scd/app-sc-hsm.c @@ -666,6 +666,7 @@ read_ef_prkd (app_t app, unsigned short fid, prkdf_object_t *prkdresult, { /* Yep, this is the keyReference. Note: UL is currently not used. */ + (void)ul; for (ul=0; objlen; objlen--) { ul <<= 8; |