diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/stabsread.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d909550..bbadd6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> + + * stabsread.c (read_huge_number): Initialize local variable to 0. + 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr> * p-lang.h (pascal_main_name): Add declaration. diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 036624f..929a856 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -3703,7 +3703,7 @@ read_huge_number (char **pp, int end, int *bits, int twos_complement_bits) { char *p = *pp; int sign = 1; - int sign_bit; + int sign_bit = 0; long n = 0; int radix = 10; char overflow = 0; |