From 46c28185abd94175e479cec1ffaa9f2dd89f9e38 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Wed, 8 Sep 1993 20:15:34 +0000 Subject: some gcc lint --- gdb/stabsread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/stabsread.c') diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 1841a76..ed820bb 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1544,7 +1544,7 @@ rs6000_builtin_type (typenum) #define NUMBER_RECOGNIZED 30 /* This includes an empty slot for type number -0. */ static struct type *negative_types[NUMBER_RECOGNIZED + 1]; - struct type *rettype; + struct type *rettype = NULL; if (typenum >= 0 || typenum < -NUMBER_RECOGNIZED) { @@ -3182,7 +3182,7 @@ read_range_type (pp, typenums, objfile) char got_signed = 0; char got_unsigned = 0; /* Number of bits in the type. */ - int nbits; + int nbits = 0; /* Range from 0 to is an unsigned large integral type. */ if ((n2bits == 0 && n2 == 0) && n3bits != 0) -- cgit v1.1