From: Pedro Alves Date: Tue, 9 Oct 2007 09:05:53 +0000 (+0000) Subject: * stabsread.c (read_huge_number): Initialize local variable to 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51e9e0d47bada8db744674291badbbb30f4ea8a4;p=binutils-gdb.git * stabsread.c (read_huge_number): Initialize local variable to 0. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d909550151e..bbadd6d3c63 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-10-09 Pedro Alves + + * stabsread.c (read_huge_number): Initialize local variable to 0. + 2007-10-09 Pierre Muller * p-lang.h (pascal_main_name): Add declaration. diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 036624f25ae..929a856d3c4 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;