diff options
author | Werner Koch <[email protected]> | 2021-07-08 12:11:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-07-08 12:11:10 +0000 |
commit | 924c8221fbe5bf58af99c2d14f158065d7433001 (patch) | |
tree | f04bf37e137c7aae24537ed43b107f85e0d733e7 /scd/app-piv.c | |
parent | kbx: Improve debugging of the search descriptions in keyboxd. (diff) | |
download | gnupg-924c8221fbe5bf58af99c2d14f158065d7433001.tar.gz gnupg-924c8221fbe5bf58af99c2d14f158065d7433001.zip |
scd: Silence compiler waring about unused args.
--
Diffstat (limited to 'scd/app-piv.c')
-rw-r--r-- | scd/app-piv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/app-piv.c b/scd/app-piv.c index 0d0863d57..33b0150dc 100644 --- a/scd/app-piv.c +++ b/scd/app-piv.c @@ -3613,6 +3613,9 @@ do_reselect (app_t app, ctrl_t ctrl) static gpg_error_t do_check_aid (app_t app, ctrl_t ctrl, const unsigned char *aid, size_t aidlen) { + (void)app; + (void)ctrl; + if (aidlen >= sizeof piv_aid && memcmp (aid, piv_aid, sizeof piv_aid) == 0) return 0; |