diff options
author | David McCullough <davidm@snapgear.com> | 2002-08-09 13:03:00 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2002-08-09 13:03:00 +0000 |
commit | bea67a752df6f8e1dfce75592fb7c371e5c8a212 (patch) | |
tree | c9b547baafaae100ab2c34ef6930ba48a1a5a736 /libc/stdio | |
parent | 54e4a312a7ac8609604d922950d29f618d1cb04c (diff) |
Fix a number of compile time warnings so that uClibc will build with -Werror using
a 3.0.4 version of the sh-linux-gcc compiler.
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/printf.c b/libc/stdio/printf.c index de50ed4e5..14e3f2173 100644 --- a/libc/stdio/printf.c +++ b/libc/stdio/printf.c @@ -764,7 +764,7 @@ extern int _ppfs_parsespec(ppfs_t *ppfs) int n; int argtype[MAX_ARGS_PER_SPEC+2]; int argnumber[3]; /* width, precision, 1st data arg */ - unsigned int conv_num; + unsigned int conv_num = 0; static const char spec_flags[] = SPEC_FLAGS; static const char spec_chars[] = SPEC_CHARS;/* TODO: b? */ static const char spec_ranges[] = SPEC_RANGES; |