genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.

* genattrtab.c (simplify_knowing): Fix uninitialized read
        in Feb 21 change.

From-SVN: r25472
This commit is contained in:
Richard Henderson 1999-02-26 07:35:21 -08:00 committed by Richard Henderson
parent afe81dd650
commit 6166aa0143
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Feb 26 15:33:45 1999 Richard Henderson <rth@cygnus.com>
* genattrtab.c (simplify_knowing): Fix uninitialized read
in Feb 21 change.
Fri Feb 26 02:24:57 1999 Jeffrey A Law (law@cygnus.com)
* c-pragma.c (add_weak); Delete. Moved into...

View File

@ -2214,7 +2214,7 @@ simplify_knowing (exp, known_true)
{
if (GET_CODE (exp) != CONST_STRING)
{
int unknown, max;
int unknown = 0, max;
max = max_attr_value (exp, &unknown);
if (! unknown)
{