aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-10-09 09:05:53 +0000
committerPedro Alves <palves@redhat.com>2007-10-09 09:05:53 +0000
commit51e9e0d47bada8db744674291badbbb30f4ea8a4 (patch)
treefbb838ceb4d8acbab0d8fe69a4e15265807b1a5d /gdb/stabsread.c
parentcd6c7346a611f2b9f937c9d1e14fb565ab217a3c (diff)
downloadgdb-51e9e0d47bada8db744674291badbbb30f4ea8a4.zip
gdb-51e9e0d47bada8db744674291badbbb30f4ea8a4.tar.gz
gdb-51e9e0d47bada8db744674291badbbb30f4ea8a4.tar.bz2
* stabsread.c (read_huge_number): Initialize local variable to 0.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c2
1 files changed, 1 insertions, 1 deletions
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;