diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-04-27 21:59:44 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-04-27 21:59:44 +0000 |
commit | 0ca66974933232188d8d347b225abacf77d241cf (patch) | |
tree | 0ab4045f322dbb8ff990f1d284861bc4ccf7c8ae /newlib | |
parent | 7cb7017ae0acd7c503b149012285b01e63eeda80 (diff) | |
download | newlib-0ca66974933232188d8d347b225abacf77d241cf.zip newlib-0ca66974933232188d8d347b225abacf77d241cf.tar.gz newlib-0ca66974933232188d8d347b225abacf77d241cf.tar.bz2 |
2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/stdio/vfscanf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e4983de..13a5eb0 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ 2001-04-27 Jeff Johnston <jjohnstn@redhat.com> + * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var. + +2001-04-27 Jeff Johnston <jjohnstn@redhat.com> + * libc/include/stdlib.h: Add prototype for _strtod_r. 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c index fad6e91..662a923 100644 --- a/newlib/libc/stdio/vfscanf.c +++ b/newlib/libc/stdio/vfscanf.c @@ -945,7 +945,7 @@ __svfscanf_r (rptr, fp, fmt0, ap) #else /* !_NO_LONG_DBL */ long double res; #endif /* !_NO_LONG_DBL */ - long new_exp; + long new_exp = 0; *p = 0; if ((flags & (DPTOK | EXPOK)) == EXPOK) |