[Pcsclite-git-commit] [PCSC] 02/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 24cf3ad628028376cc9645bacfaec8a58cfc15a5
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Wed Mar 1 15:52:49 2017 +0100
--enable-embedded: fix compiler warning
configfile.l: In function ‘tok_error’:
configfile.l:259:22: warning: unused parameter ‘token_error’ [-Wunused-parameter]
{
^
---
src/configfile.l | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/configfile.l b/src/configfile.l
index bfe5a51..7b91319 100644
--- a/src/configfile.l
+++ b/src/configfile.l
@@ -257,6 +257,9 @@ int evaluatetoken(char *pcToken)
void tok_error(char *token_error)
{
+#ifdef NO_LOG
+ (void)token_error;
+#endif
Log4(PCSC_LOG_ERROR, "tok_error: invalid value line %d in %s: %s",
iOldLinenumber, ConfFile, token_error);
badError = 1;
--
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