[Pcsclite-cvs-commit] Drivers/ccid/src ifdhandler.c,1.37,1.38 parse.c,1.14,1.15
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv20365/src
Modified Files:
ifdhandler.c parse.c
Log Message:
explicitely cast the returned value as (void) if we don't use it
Index: ifdhandler.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/ifdhandler.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- ifdhandler.c 9 Jul 2004 14:06:58 -0000 1.37
+++ ifdhandler.c 9 Jul 2004 14:08:28 -0000 1.38
@@ -187,14 +187,14 @@
if (CheckLun(Lun))
return IFD_COMMUNICATION_ERROR;
- CmdPowerOff(Lun);
+ (void)CmdPowerOff(Lun);
/* No reader status check, if it failed, what can you do ? :) */
#ifdef HAVE_PTHREAD
pthread_mutex_lock(&ifdh_context_mutex);
#endif
- ClosePort(Lun);
+ (void)ClosePort(Lun);
#ifdef HAVE_PTHREAD
pthread_mutex_unlock(&ifdh_context_mutex);
Index: parse.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/parse.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- parse.c 9 Jul 2004 13:29:02 -0000 1.14
+++ parse.c 9 Jul 2004 14:08:28 -0000 1.15
@@ -74,7 +74,7 @@
printf("No known CCID reader found\n");
for (;channel!=0; channel--)
- CloseUSB(channel<<16);
+ (void)CloseUSB(channel<<16);
return 0;
} /* main */