diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-25 11:50:02 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-25 11:50:02 +0000 |
commit | 24cb94a3ff985a4db56679ce273c8b968fcf560f (patch) | |
tree | 53f942e4f7d61862f67e3128734c799d8fe912d4 /gcc/tlink.c | |
parent | e00568b077f05a724bb958bf8eac53e64cacb2d0 (diff) | |
download | gcc-24cb94a3ff985a4db56679ce273c8b968fcf560f.tar.gz |
* tlink.c (symbol_hash_newfunc): Remove redundant call to
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
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r-- | gcc/tlink.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c index 29e2deb778e..9f058c9b284 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -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; } |