* stabsread.c (read_huge_number): Initialize local variable to 0.
authorPedro Alves <palves@redhat.com>
Tue, 9 Oct 2007 09:05:53 +0000 (09:05 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 9 Oct 2007 09:05:53 +0000 (09:05 +0000)
gdb/ChangeLog
gdb/stabsread.c

index d909550151ea631f193e9fcd4f58e19f4fb644a3..bbadd6d3c63ccb2c5eefcca19b1a39b5b9ee7091 100644 (file)
@@ -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.
index 036624f25aea96d52d860ac39535431b8848f47d..929a856d3c4d3aa0c214808f0d3e47a0baeddba9 100644 (file)
@@ -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;