aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-02 01:41:40 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-02 01:41:40 +0000
commit996ccb3043d9237ea8e6e79d6a7c6121b15f9e61 (patch)
tree0dfcfdfd7f957068352137d70e996b8a100926c1 /gdb/minsyms.c
parente4d30c7e6abccf8402a5c48743a829cd6633ee98 (diff)
downloadgdb-996ccb3043d9237ea8e6e79d6a7c6121b15f9e61.zip
gdb-996ccb3043d9237ea8e6e79d6a7c6121b15f9e61.tar.gz
gdb-996ccb3043d9237ea8e6e79d6a7c6121b15f9e61.tar.bz2
* symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put inside #if) unused variables and labels. Fix unclosed comment. Deal with enumeration values unhandled in switch statements. Make sure non-void functions return values. Include appropriate headers. * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned value < 0.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r--gdb/minsyms.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index d8488f2..3665380 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -490,7 +490,6 @@ install_minimal_symbols (objfile)
register struct minimal_symbol *msymbols;
int alloc_count;
register char leading_char;
- char *demangled_name;
if (msym_count > 0)
{