From 51e9e0d47bada8db744674291badbbb30f4ea8a4 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 9 Oct 2007 09:05:53 +0000 Subject: * stabsread.c (read_huge_number): Initialize local variable to 0. --- gdb/ChangeLog | 4 ++++ gdb/stabsread.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * 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 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; -- cgit v1.1