[Pcsclite-cvs-commit] PCSC/src musclecard.c,1.32,1.33

aet-guest@quantz.debian.org aet-guest@quantz.debian.org
Mon, 08 Sep 2003 11:51:48 +0200


Update of /cvsroot/pcsclite/PCSC/src
In directory quantz:/tmp/cvs-serv29852

Modified Files:
	musclecard.c 
Log Message:
Fix compiler warning when compiling with --disable-threadsafe


Index: musclecard.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/musclecard.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- musclecard.c	7 Sep 2003 20:36:48 -0000	1.32
+++ musclecard.c	8 Sep 2003 09:51:46 -0000	1.33
@@ -41,11 +41,12 @@
 /* This is initialized once in PCSC.cpp */
 PCSCLITE_MUTEX PCSC_MCARD_mutex;
 #endif
+
 static PCSCLITE_THREAD_T callbackThread;
-#endif
+static ULONG blockingContext = MSC_BLOCKSTATUS_RESUME;
+#endif	/* USE_THREAD_SAFETY */
 
 static SCARDCONTEXT localHContext = 0;
-static ULONG blockingContext = MSC_BLOCKSTATUS_RESUME;
 
 /*
  * internal function