summaryrefslogtreecommitdiffstats
path: root/source
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
commitebe16589cb6c45524b90abe5f9be5e4affa1598e (patch)
tree72dc71a3821c30393b9b2763c207ccb7a5ecdff9 /source
parente9df051f5201843e3428ddbed7a719553c2e799a (diff)
downloadsamba-ebe16589cb6c45524b90abe5f9be5e4affa1598e.tar.gz
samba-ebe16589cb6c45524b90abe5f9be5e4affa1598e.tar.xz
samba-ebe16589cb6c45524b90abe5f9be5e4affa1598e.zip
r20248: merge 20247 from samba_3_0_24
get rid of warning: value computed is not used
Diffstat (limited to 'source')
-rw-r--r--source/lib/replace/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace/snprintf.c b/source/lib/replace/snprintf.c
index b38d8dad34a..fcbcdb17e9e 100644
--- a/source/lib/replace/snprintf.c
+++ b/source/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++) {