From 996ccb3043d9237ea8e6e79d6a7c6121b15f9e61 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 2 Sep 1993 01:41:40 +0000 Subject: * 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. --- gdb/symfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index 72c6efa..d68ac20 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1169,8 +1169,8 @@ clear_symtab_users () discarded if symbol reading is successful. */ #if 0 - /* FIXME: As free_named_symtabs is currently a big noop this function - is no longer needed. +/* FIXME: As free_named_symtabs is currently a big noop this function + is no longer needed. */ static void clear_symtab_users_once PARAMS ((void)); -- cgit v1.1