[Pcsclite-git-commit] [PCSC] 01/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 aa4907aaecc73680a4ac557cd0a9a00a563302d9
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Wed Mar 1 15:50:18 2017 +0100
--enable-embedded: fix compiler warning
winscard_msg.c: In function ‘MessageReceiveTimeout’:
winscard_msg.c:193:46: warning: unused parameter ‘command’ [-Wunused-parameter]
INTERNAL LONG MessageReceiveTimeout(uint32_t command, void *buffer_void,
^~~~~~~
---
src/winscard_msg.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/winscard_msg.c b/src/winscard_msg.c
index 3a8041d..bbbb22d 100644
--- a/src/winscard_msg.c
+++ b/src/winscard_msg.c
@@ -281,6 +281,9 @@ INTERNAL LONG MessageReceiveTimeout(uint32_t command, void *buffer_void,
/* you need to set the env variable PCSCLITE_DEBUG=0 since
* this is logged on the client side and not on the pcscd
* side*/
+#ifdef NO_LOG
+ (void)command;
+#endif
Log2(PCSC_LOG_INFO, "Command 0x%X not yet finished", command);
} else
{
--
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