From: Klas Lindfors Date: Tue, 18 Sep 2012 07:46:54 +0000 (+0200) Subject: remove unused variable and make sleep ints unsigned X-Git-Tag: v1.8.0~43 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42cdaffd1067a24cea3c39c44f2ca89608da4ff7;p=yubikey-personalization remove unused variable and make sleep ints unsigned --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index aee4cbc..d643397 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -375,10 +375,9 @@ int yk_wait_for_key_status(YK_KEY *yk, uint8_t slot, unsigned int flags, unsigned char *last_data) { unsigned char data[FEATURE_RPT_SIZE]; - unsigned int bytes_read; - int sleepval = 10; - int slept_time = 0; + unsigned int sleepval = 10; + unsigned int slept_time = 0; int blocking = 0; /* Non-zero slot breaks on Windows (libusb-1.0.8-win32), while working fine