diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-08 21:30:33 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-08 21:30:33 +0000 |
commit | fee933f19c4956f6f5b8e05bb0e596dcae98b61a (patch) | |
tree | 483d2fe404a84906ea6eeb5d592c342a5592c155 /gdb/buildsym.c | |
parent | 72cd0384f2eb86970fa0b0415571c23867e5940d (diff) | |
download | gdb-fee933f19c4956f6f5b8e05bb0e596dcae98b61a.zip gdb-fee933f19c4956f6f5b8e05bb0e596dcae98b61a.tar.gz gdb-fee933f19c4956f6f5b8e05bb0e596dcae98b61a.tar.bz2 |
gcc lint
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 48b1a82..e8804cb 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -653,7 +653,7 @@ end_symtab (end_addr, sort_pending, sort_linevec, objfile, section) struct objfile *objfile; int section; { - register struct symtab *symtab; + register struct symtab *symtab = NULL; register struct blockvector *blockvector; register struct subfile *subfile; register struct context_stack *cstk; @@ -751,7 +751,7 @@ end_symtab (end_addr, sort_pending, sort_linevec, objfile, section) for (subfile = subfiles; subfile; subfile = nextsub) { - int linetablesize; + int linetablesize = 0; /* If we have blocks of symbols, make a symtab. Otherwise, just ignore this file and any line number info in it. */ symtab = NULL; |