aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-08 21:23:41 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-08 21:23:41 +0000
commit72cd0384f2eb86970fa0b0415571c23867e5940d (patch)
tree5539f0cb33ac83d25ed7af96264f81f0e1aa266d /gdb/cp-valprint.c
parent6406a867406328c074e0991ab96f0e6a7ff3a727 (diff)
downloadgdb-72cd0384f2eb86970fa0b0415571c23867e5940d.zip
gdb-72cd0384f2eb86970fa0b0415571c23867e5940d.tar.gz
gdb-72cd0384f2eb86970fa0b0415571c23867e5940d.tar.bz2
gcc lint
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index bde5879..f5cb15e 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -68,8 +68,8 @@ cp_print_class_method (valaddr, type, stream)
FILE *stream;
{
struct type *domain;
- struct fn_field *f;
- int j;
+ struct fn_field *f = NULL;
+ int j = 0;
int len2;
int offset;
char *kind = "";