]> err.no Git - yubikey-personalization/commitdiff
remove unused variable
authorKlas Lindfors <klas@yubico.com>
Tue, 18 Sep 2012 07:39:32 +0000 (09:39 +0200)
committerKlas Lindfors <klas@yubico.com>
Tue, 18 Sep 2012 07:39:32 +0000 (09:39 +0200)
ykcore/ykcore.c

index 3036c265b1739dc61f2829abeb37cb0813c10eee..c432ee90eac7e748265e8b2c7ea39e442e917c5c 100644 (file)
@@ -145,7 +145,6 @@ int yk_get_status(YK_KEY *k, YK_STATUS *status)
 int yk_get_serial(YK_KEY *yk, uint8_t slot, unsigned int flags, unsigned int *serial)
 {
        unsigned char buf[FEATURE_RPT_SIZE * 2];
-       int yk_cmd;
        unsigned int response_len = 0;
        unsigned int expect_bytes = 0;