[Pcsclite-cvs-commit] r5866 - /trunk/PCSC/src/tokenparser.l

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jul 9 11:45:30 UTC 2011


Author: rousseau
Date: Sat Jul  9 11:45:30 2011
New Revision: 5866

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5866
Log:
Silence compiler warnings

tokenparser.l: In function `eval_key':
tokenparser.l:62:6: warning: variable `r' set but not used
[-Wunused-but-set-variable]

tokenparser.l: In function `eval_value':
tokenparser.l:92:6: warning: variable `r' set but not used
[-Wunused-but-set-variable]

tokenparser.l: In function `bundleParse':
tokenparser.l:162:6: warning: variable `r' set but not used
[-Wunused-but-set-variable]

Modified:
    trunk/PCSC/src/tokenparser.l

Modified: trunk/PCSC/src/tokenparser.l
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/tokenparser.l?rev=5866&op=diff
==============================================================================
--- trunk/PCSC/src/tokenparser.l (original)
+++ trunk/PCSC/src/tokenparser.l Sat Jul  9 11:45:30 2011
@@ -78,6 +78,7 @@
 
 	r = list_init(&elt->values);
 	assert(r >= 0);
+	(void)r;
 
 	/* add the key/values */
 	list_append(list_key, elt);
@@ -107,6 +108,7 @@
 
 	r = list_append(list_values, value);
 	assert(r >= 0);
+	(void)r;
 }
 
 void tperrorCheck (char *token_error)
@@ -173,6 +175,7 @@
 
 	r = list_init(l);
 	assert(r >= 0);
+	(void)r;
 
 	ListKeys = l;
 	yyin = file;




More information about the Pcsclite-cvs-commit mailing list