summaryrefslogtreecommitdiff
path: root/source3/lib/replace/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace/snprintf.c')
-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 fcbcdb17e9..b38d8dad34 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 */
- (void)va_arg (args, int);
+ va_arg (args, int);
continue;
}
for (i = 1; i < clist[pnum].num; i++) {