From 7dcaac91121f34041bc1b607d100524bfdbb3a1b Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 16 Feb 2004 21:14:24 +0000 Subject: [PATCH] * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary initializations. --- gdb/ChangeLog | 5 +++++ gdb/objfiles.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) 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); } } -- 2.30.2