mirror of https://github.com/mkerrisk/man-pages
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:
parent
3d4d911624
commit
9c59ace465
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue