From: Klas Lindfors Date: Mon, 3 Dec 2012 09:28:54 +0000 (+0000) Subject: resetting rc is unnecessary with the change around in open_key X-Git-Tag: v1.10.0~21 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a7ae0d31dd690d3670e60a9e7a2244f08901b9;p=yubikey-personalization resetting rc is unnecessary with the change around in open_key --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 02adf7b..0e30aca 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -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)) {