Removed unused variable in EXAMPLE

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262567

[[
In va_arg(3), the example function foo (section EXAMPLES, not
COMPARISON) has an unused variable: char *p.
]]
This commit is contained in:
Michael Kerrisk 2004-12-15 16:23:30 +00:00
parent 3d4d911624
commit 9c59ace465
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ with each format character based on the type.
void foo(char *fmt, ...) {
va_list ap;
int d;
char c, *p, *s;
char c, *s;
va_start(ap, fmt);
while (*fmt)