aboutsummaryrefslogtreecommitdiffstats
path: root/man3/stdarg.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2004-12-15 16:23:30 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2004-12-15 16:23:30 +0000
commit9c59ace465b9be739b9234845c9864b9c98cb236 (patch)
treed502593a881fd3d539c862f4e9a7f56ea3badc99 /man3/stdarg.3
parent3d4d91162455c53ff7e66402f93020123f20c423 (diff)
downloadman-pages-9c59ace465b9be739b9234845c9864b9c98cb236.tar.gz
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. ]]
Diffstat (limited to 'man3/stdarg.3')
-rw-r--r--man3/stdarg.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/stdarg.3 b/man3/stdarg.3
index 833e972d48..021f3f7f5f 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)