mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
scd: Silence compiler waring about unused args.
--
This commit is contained in:
parent
b871824fef
commit
924c8221fb
@ -6138,6 +6138,9 @@ do_reselect (app_t app, ctrl_t ctrl)
|
|||||||
static gpg_error_t
|
static gpg_error_t
|
||||||
do_check_aid (app_t app, ctrl_t ctrl, const unsigned char *aid, size_t aidlen)
|
do_check_aid (app_t app, ctrl_t ctrl, const unsigned char *aid, size_t aidlen)
|
||||||
{
|
{
|
||||||
|
(void)app;
|
||||||
|
(void)ctrl;
|
||||||
|
|
||||||
if (aidlen >= sizeof openpgp_aid
|
if (aidlen >= sizeof openpgp_aid
|
||||||
&& memcmp (aid, openpgp_aid, sizeof openpgp_aid) == 0)
|
&& memcmp (aid, openpgp_aid, sizeof openpgp_aid) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -3613,6 +3613,9 @@ do_reselect (app_t app, ctrl_t ctrl)
|
|||||||
static gpg_error_t
|
static gpg_error_t
|
||||||
do_check_aid (app_t app, ctrl_t ctrl, const unsigned char *aid, size_t aidlen)
|
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
|
if (aidlen >= sizeof piv_aid
|
||||||
&& memcmp (aid, piv_aid, sizeof piv_aid) == 0)
|
&& memcmp (aid, piv_aid, sizeof piv_aid) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user