OSDN Git Service

* tlink.c (symbol_hash_newfunc): Remove redundant call to
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 1999 11:50:02 +0000 (11:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 1999 11:50:02 +0000 (11:50 +0000)
hash_newfunc.
(file_hash_newfunc, demangled_hash_newfunc): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25974 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tlink.c

index e16fb40..f8df5b3 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar 25 11:47:49 1999  Art Haas <ahaas@neosoft.com>
+
+       * tlink.c (symbol_hash_newfunc): Remove redundant call to
+       hash_newfunc.
+       (file_hash_newfunc, demangled_hash_newfunc): Likewise.
+
 Thu Mar 25 10:05:56 1999  Richard Henderson  <rth@cygnus.com>
 
        * i386.h (PREFERRED_STACK_BOUNDARY): Set to 128.
index 29e2deb..9f058c9 100644 (file)
@@ -125,8 +125,6 @@ symbol_hash_newfunc (entry, table, string)
       if (ret == NULL)
        return NULL;
     }
-  ret = ((struct symbol_hash_entry *)
-        hash_newfunc ((struct hash_entry *) ret, table, string));
   ret->file = NULL;
   ret->chosen = 0;
   ret->tweaking = 0;
@@ -165,8 +163,6 @@ file_hash_newfunc (entry, table, string)
       if (ret == NULL)
        return NULL;
     }
-  ret = ((struct file_hash_entry *)
-        hash_newfunc ((struct hash_entry *) ret, table, string));
   ret->args = NULL;
   ret->dir = NULL;
   ret->main = NULL;
@@ -204,8 +200,6 @@ demangled_hash_newfunc (entry, table, string)
       if (ret == NULL)
        return NULL;
     }
-  ret = ((struct demangled_hash_entry *)
-        hash_newfunc ((struct hash_entry *) ret, table, string));
   ret->mangled = NULL;
   return (struct hash_entry *) ret;
 }