[Pcsclite-cvs-commit] r4634 - /trunk/PCSC/src/simclist.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Sat Jan 2 17:49:29 UTC 2010
Author: rousseau
Date: Sat Jan 2 17:49:29 2010
New Revision: 4634
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4634
Log:
fix a compilation warning
simclist.c:1335: warning: unused parameter ‘el’
Modified:
trunk/PCSC/src/simclist.c
Modified: trunk/PCSC/src/simclist.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/simclist.c?rev=4634&op=diff
==============================================================================
--- trunk/PCSC/src/simclist.c (original)
+++ trunk/PCSC/src/simclist.c Sat Jan 2 17:49:29 2010
@@ -1330,7 +1330,7 @@
int list_comparator_string(const void *a, const void *b) { return strcmp((const char *)b, (const char *)a); }
/* ready-made metric functions */
-#define SIMCLIST_METER(type) size_t list_meter_##type(const void *el) { return sizeof(type); }
+#define SIMCLIST_METER(type) size_t list_meter_##type(const void *el) { (void)el; return sizeof(type); }
SIMCLIST_METER(int8_t);
SIMCLIST_METER(int16_t);
More information about the Pcsclite-cvs-commit
mailing list