git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4c208
)
r20248: merge 20247 from samba_3_0_24
author
Herb Lewis
<herb@samba.org>
Mon, 18 Dec 2006 22:01:39 +0000
(22:01 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:16:36 +0000
(12:16 -0500)
get rid of warning: value computed is not used
(This used to be commit
ebe16589cb6c45524b90abe5f9be5e4affa1598e
)
source3/lib/replace/snprintf.c
patch
|
blob
|
history
diff --git
a/source3/lib/replace/snprintf.c
b/source3/lib/replace/snprintf.c
index b38d8dad34af66543946640439f364411fb401b6..fcbcdb17e9ed829a20bce4a29328ffb52b651e81 100644
(file)
--- 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++) {