aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/nano-vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/nano-vfprintf.c')
-rw-r--r--newlib/libc/stdio/nano-vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c
index 0d42a94..bdcc9b2 100644
--- a/newlib/libc/stdio/nano-vfprintf.c
+++ b/newlib/libc/stdio/nano-vfprintf.c
@@ -627,6 +627,7 @@ _VFPRINTF_R (struct _reent *data,
GET_ARG (N, ap_copy, _LONG_DOUBLE);
else
GET_ARG (N, ap_copy, double);
+ n = 0;
}
else
n = _printf_float (data, &prt_data, fp, pfunc, &ap_copy);