[Pcsclite-cvs-commit] r6879 - trunk/Drivers/ccid/src
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Sun Mar 23 15:11:21 UTC 2014
Author: rousseau
Date: 2014-03-23 15:11:20 +0000 (Sun, 23 Mar 2014)
New Revision: 6879
Modified:
trunk/Drivers/ccid/src/commands.c
Log:
Fix compiler warning
commands.c: In function `SecurePINVerify':
commands.c:529:9: warning: variable `n' set but not used [-Wunused-but-set-variable]
int n, oldReadTimeout;
^
Modified: trunk/Drivers/ccid/src/commands.c
===================================================================
--- trunk/Drivers/ccid/src/commands.c 2014-03-23 12:15:03 UTC (rev 6878)
+++ trunk/Drivers/ccid/src/commands.c 2014-03-23 15:11:20 UTC (rev 6879)
@@ -526,7 +526,7 @@
unsigned char sblk[1]; /* we only need 1 byte of data */
t1_state_t *t1 = &get_ccid_slot(reader_index)->t1;
unsigned int slen;
- int n, oldReadTimeout;
+ int oldReadTimeout;
DEBUG_COMM2("CT sent S-block with wtx=%u", RxBuffer[DATA]);
t1->wtx = RxBuffer[DATA];
@@ -542,7 +542,7 @@
ct_buf_init(&tbuf, sblk, sizeof(sblk));
t1->wtx = RxBuffer[DATA];
- n = ct_buf_putc(&tbuf, RxBuffer[DATA]);
+ ct_buf_putc(&tbuf, RxBuffer[DATA]);
slen = t1_build(t1, RxBuffer, 0,
T1_S_BLOCK | T1_S_RESPONSE | T1_S_TYPE(RxBuffer[PCB]),
More information about the Pcsclite-cvs-commit
mailing list