diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-13 11:12:28 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-13 11:12:28 -0700 |
commit | 53544380266a8eb38bef9389562fba3ed58a0d11 (patch) | |
tree | d040f7c483990e8cf4bb8e11102f15c04a2f6514 /stdio-common/vfprintf.c | |
parent | fcb32af153a745414b0d949e707c9485ab77d6ba (diff) | |
download | glibc-53544380266a8eb38bef9389562fba3ed58a0d11.tar.gz glibc-53544380266a8eb38bef9389562fba3ed58a0d11.tar.xz glibc-53544380266a8eb38bef9389562fba3ed58a0d11.zip |
foo roland/Wshadow
Diffstat (limited to 'stdio-common/vfprintf.c')
-rw-r--r-- | stdio-common/vfprintf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index c4ff8334b2..469c75616b 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -1965,7 +1965,6 @@ do_positional: while (1) { extern printf_function **__printf_function_table; - int function_done; if (spec <= UCHAR_MAX && __printf_function_table != NULL @@ -1980,7 +1979,7 @@ do_positional: ptr[i] = &args_value[specs[nspecs_done].data_arg + i]; /* Call the function. */ - function_done = __printf_function_table[(size_t) spec] + int function_done = __printf_function_table[(size_t) spec] (s, &specs[nspecs_done].info, ptr); if (function_done != -2) @@ -2017,8 +2016,8 @@ do_positional: ptr[i] = &args_value[specs[nspecs_done].data_arg + i]; /* Call the function. */ - function_done = printf_unknown (s, &specs[nspecs_done].info, - ptr); + int function_done = printf_unknown (s, &specs[nspecs_done].info, + ptr); /* If an error occurred we don't have information about # of chars. */ |