summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-18 22:01:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:36 -0500
commit911413e7d7020e429d15de52245e36414ff37a2a (patch)
tree5840da4bcfc51d7c5f270470c0503890252d5727 /source3/lib/replace
parentef4c2088c5f1de5d8665061963acdd1d71500cd8 (diff)
downloadsamba-911413e7d7020e429d15de52245e36414ff37a2a.tar.gz
samba-911413e7d7020e429d15de52245e36414ff37a2a.tar.bz2
samba-911413e7d7020e429d15de52245e36414ff37a2a.zip
r20248: merge 20247 from samba_3_0_24
get rid of warning: value computed is not used (This used to be commit ebe16589cb6c45524b90abe5f9be5e4affa1598e)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/snprintf.c b/source3/lib/replace/snprintf.c
index b38d8dad34..fcbcdb17e9 100644
--- a/source3/lib/replace/snprintf.c
+++ b/source3/lib/replace/snprintf.c
@@ -540,7 +540,7 @@ static int dopr(char *buffer, size_t maxlen, const char *format, va_list args_in
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++) {