[Pcsclite-cvs-commit] r1971 - trunk/HandlerTest/Host

Ludovic Rousseau rousseau at costa.debian.org
Fri Mar 24 13:49:53 CET 2006


Author: rousseau
Date: 2006-03-24 12:49:40 +0000 (Fri, 24 Mar 2006)
New Revision: 1971

Modified:
   trunk/HandlerTest/Host/handler_test.c
Log:
remove the COMPARE since it is never used


Modified: trunk/HandlerTest/Host/handler_test.c
===================================================================
--- trunk/HandlerTest/Host/handler_test.c	2006-03-23 12:56:54 UTC (rev 1970)
+++ trunk/HandlerTest/Host/handler_test.c	2006-03-24 12:49:40 UTC (rev 1971)
@@ -53,16 +53,6 @@
 	DEBUG("dlsym: " # func); \
 	return 1; }
 
-#define COMPARE(r, e, l) { int i; \
-	for (i=0; i<l; i++) \
-		if (r[i] != e[i]) \
-		{ \
-			printf("ERROR byte %d: expected 0x%02X, got 0x%02X\n", i, e[i], r[i]);\
-			return 1; \
-		} \
-	printf("--------> OK\n"); \
-	}
-
 #define PCSC_ERROR(x) printf("%s:%d " x ": %s\n", __FILE__, __LINE__, ifd_error(rv))
 
 struct f_t {




More information about the Pcsclite-cvs-commit mailing list