]> err.no Git - yubikey-personalization/commitdiff
resetting rc is unnecessary with the change around in open_key
authorKlas Lindfors <klas@yubico.com>
Mon, 3 Dec 2012 09:28:54 +0000 (09:28 +0000)
committerKlas Lindfors <klas@yubico.com>
Mon, 3 Dec 2012 09:28:54 +0000 (09:28 +0000)
ykcore/ykcore.c

index 02adf7bf758c8fecb240be975f6fd8fada7a4361..0e30acad85dc1ae46dd8f339e519d69582cc666d 100644 (file)
@@ -65,7 +65,6 @@ YK_KEY *yk_open_first_key(void)
        int rc = yk_errno;
 
        if (yk) {
-               rc = 0;
                YK_STATUS st;
 
                if (!yk_get_status(yk, &st)) {