| Index: nspr/pr/src/io/prscanf.c
|
| diff --git a/nspr/pr/src/io/prscanf.c b/nspr/pr/src/io/prscanf.c
|
| index b95d6561aa17c77eb3aec09dd094ec2aa6fbba77..9d75d824e8e91365655793216c1e2fe27345ab7a 100644
|
| --- a/nspr/pr/src/io/prscanf.c
|
| +++ b/nspr/pr/src/io/prscanf.c
|
| @@ -194,7 +194,7 @@ static PRStatus
|
| GetInt(ScanfState *state, int code)
|
| {
|
| char buf[FMAX + 1], *p;
|
| - int ch;
|
| + int ch = 0;
|
| static const char digits[] = "0123456789abcdefABCDEF";
|
| PRBool seenDigit = PR_FALSE;
|
| int base;
|
| @@ -304,7 +304,7 @@ static PRStatus
|
| GetFloat(ScanfState *state)
|
| {
|
| char buf[FMAX + 1], *p;
|
| - int ch;
|
| + int ch = 0;
|
| PRBool seenDigit = PR_FALSE;
|
|
|
| if (state->width == 0 || state->width > FMAX) {
|
|
|