From 0119403c3acb30557f5efdf8aacb378bed6a6e8e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 1 Jun 2008 22:11:07 +0000 Subject: suppress a few "might be used uninitialized" warnings. No code growth. --- libc/stdio/old_vfprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/stdio') diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c index 57f607142..8b8d50077 100644 --- a/libc/stdio/old_vfprintf.c +++ b/libc/stdio/old_vfprintf.c @@ -359,13 +359,13 @@ int vfprintf(FILE * __restrict op, register const char * __restrict fmt, int i; } intarg; int i, cnt, dataargtype, len; - const void *argptr; /* This does not need to be initialized. */ + const void *argptr = argptr; /* ok to be initialized. */ register char *p; const char *fmt0; int preci, width; #define upcase i int radix, dpoint /*, upcase*/; - char tmp[65]; /* TODO - determing needed size from headers */ + char tmp[65]; /* TODO - determine needed size from headers */ char flag[sizeof(spec)]; __STDIO_AUTO_THREADLOCK_VAR; -- cgit v1.2.3