aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArt Haas <ahaas@neosoft.com>1999-03-25 11:50:02 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-03-25 06:50:02 -0500
commit9d4c59ab209c9bf1015490bcf8054d3b7db8a924 (patch)
tree53f942e4f7d61862f67e3128734c799d8fe912d4 /gcc
parentab8cc6ab9ff5d016181db9a6b75988fd21f6d3d9 (diff)
downloadgcc-9d4c59ab209c9bf1015490bcf8054d3b7db8a924.zip
gcc-9d4c59ab209c9bf1015490bcf8054d3b7db8a924.tar.gz
gcc-9d4c59ab209c9bf1015490bcf8054d3b7db8a924.tar.bz2
tlink.c (symbol_hash_newfunc): Remove redundant call to hash_newfunc.
* tlink.c (symbol_hash_newfunc): Remove redundant call to hash_newfunc. (file_hash_newfunc, demangled_hash_newfunc): Likewise. From-SVN: r25974
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/tlink.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e16fb40..f8df5b3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 29e2deb..9f058c9 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;
}