aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-08 21:30:33 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-08 21:30:33 +0000
commitfee933f19c4956f6f5b8e05bb0e596dcae98b61a (patch)
tree483d2fe404a84906ea6eeb5d592c342a5592c155 /gdb/buildsym.c
parent72cd0384f2eb86970fa0b0415571c23867e5940d (diff)
downloadgdb-fee933f19c4956f6f5b8e05bb0e596dcae98b61a.zip
gdb-fee933f19c4956f6f5b8e05bb0e596dcae98b61a.tar.gz
gdb-fee933f19c4956f6f5b8e05bb0e596dcae98b61a.tar.bz2
gcc lint
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c4
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;