[Pcsclite-git-commit] [PCSC] 07/07: --enable-embedded: fix compiler warning
Ludovic Rousseau
rousseau at moszumanska.debian.org
Wed Mar 1 15:09:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository PCSC.
commit 62ecbe87bfbecc0706f110738e0f609d848d0bd3
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Wed Mar 1 16:01:44 2017 +0100
--enable-embedded: fix compiler warning
winscard_svc.c: In function ‘ContextsDeinitialize’:
winscard_svc.c:150:6: warning: variable ‘listSize’ set but not used [-Wunused-but-set-variable]
int listSize;
^~~~~~~~
---
src/winscard_svc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/winscard_svc.c b/src/winscard_svc.c
index 7dd83e2..fb954bf 100644
--- a/src/winscard_svc.c
+++ b/src/winscard_svc.c
@@ -149,6 +149,9 @@ void ContextsDeinitialize(void)
{
int listSize;
listSize = list_size(&contextsList);
+#ifdef NO_LOG
+ (void)listSize;
+#endif
Log2(PCSC_LOG_DEBUG, "remaining threads: %d", listSize);
/* This is currently a no-op. It should terminate the threads properly. */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git
More information about the Pcsclite-cvs-commit
mailing list