From: Daniel Jacobowitz Date: Mon, 16 Feb 2004 21:14:24 +0000 (+0000) Subject: * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dcaac91121f34041bc1b607d100524bfdbb3a1b;p=binutils-gdb.git * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary initializations. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 91f131f803c..d9d9b7fc46c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-02-16 Daniel Jacobowitz + + * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary + initializations. + 2004-02-16 Andrew Cagney * tui/tui-windata.c: Include "gdb_string.h". diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 314e27eb1de..ce23210bec2 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -283,11 +283,6 @@ terminate_minimal_symbol_table (struct objfile *objfile) = &objfile->msymbols[objfile->minimal_symbol_count]; memset (m, 0, sizeof (*m)); - DEPRECATED_SYMBOL_NAME (m) = NULL; - SYMBOL_VALUE_ADDRESS (m) = 0; - MSYMBOL_INFO (m) = NULL; - MSYMBOL_SIZE (m) = 0; - MSYMBOL_TYPE (m) = mst_unknown; SYMBOL_INIT_LANGUAGE_SPECIFIC (m, language_unknown); } }