From 9c59ace465b9be739b9234845c9864b9c98cb236 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 15 Dec 2004 16:23:30 +0000 Subject: [PATCH] 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. ]] --- man3/stdarg.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/stdarg.3 b/man3/stdarg.3 index 833e972d4..021f3f7f5 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -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)