* objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
authorDaniel Jacobowitz <drow@false.org>
Mon, 16 Feb 2004 21:14:24 +0000 (21:14 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 16 Feb 2004 21:14:24 +0000 (21:14 +0000)
initializations.

gdb/ChangeLog
gdb/objfiles.c

index 91f131f803c9255c5bb37c878011a428c89222c2..d9d9b7fc46c8e9b0b271894d737b19b849d0e310 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
+       initializations.
+
 2004-02-16  Andrew Cagney  <cagney@redhat.com>
 
        * tui/tui-windata.c: Include "gdb_string.h".
index 314e27eb1de947461cd686a94281e0268c25d65b..ce23210bec2900ba4d8e1733fc762194493dd719 100644 (file)
@@ -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);
   }
 }