]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tlink.c (symbol_hash_newfunc): Remove redundant call to hash_newfunc.
authorArt Haas <ahaas@neosoft.com>
Thu, 25 Mar 1999 11:50:02 +0000 (11:50 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Mar 1999 11:50:02 +0000 (06:50 -0500)
* tlink.c (symbol_hash_newfunc): Remove redundant call to
hash_newfunc.
(file_hash_newfunc, demangled_hash_newfunc): Likewise.

From-SVN: r25974

gcc/ChangeLog
gcc/tlink.c

index e16fb40fb2c2077ad33e0a005b65acf5a4841d05..f8df5b3071d290dd61578d4311cc0fb96dab5024 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 29e2deb778eef21c421995766116cee9ceb7dea5..9f058c9b2848bd50f8af7af50798b0dc9aa598f9 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;
 }