Author: herb
Date: 2006-12-18 21:59:11 +0000 (Mon, 18 Dec 2006)
New Revision: 20247

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20247

Log:
get rid of warning: value computed is not used

Modified:
   branches/SAMBA_3_0_24/source/lib/replace/snprintf.c


Changeset:
Modified: branches/SAMBA_3_0_24/source/lib/replace/snprintf.c
===================================================================
--- branches/SAMBA_3_0_24/source/lib/replace/snprintf.c 2006-12-18 20:53:51 UTC 
(rev 20246)
+++ branches/SAMBA_3_0_24/source/lib/replace/snprintf.c 2006-12-18 21:59:11 UTC 
(rev 20247)
@@ -540,7 +540,7 @@
                        printf("parameter at position %d not used\n", pnum+1);
 #endif
                        /* eat the parameter */
-                       va_arg (args, int);
+                       (void)va_arg (args, int);
                        continue;
                }
                for (i = 1; i < clist[pnum].num; i++) {

Reply via email to