Commit 9d4c59ab by Art Haas Committed by Jason Merrill

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
parent ab8cc6ab
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> Thu Mar 25 10:05:56 1999 Richard Henderson <rth@cygnus.com>
* i386.h (PREFERRED_STACK_BOUNDARY): Set to 128. * i386.h (PREFERRED_STACK_BOUNDARY): Set to 128.
......
...@@ -125,8 +125,6 @@ symbol_hash_newfunc (entry, table, string) ...@@ -125,8 +125,6 @@ symbol_hash_newfunc (entry, table, string)
if (ret == NULL) if (ret == NULL)
return NULL; return NULL;
} }
ret = ((struct symbol_hash_entry *)
hash_newfunc ((struct hash_entry *) ret, table, string));
ret->file = NULL; ret->file = NULL;
ret->chosen = 0; ret->chosen = 0;
ret->tweaking = 0; ret->tweaking = 0;
...@@ -165,8 +163,6 @@ file_hash_newfunc (entry, table, string) ...@@ -165,8 +163,6 @@ file_hash_newfunc (entry, table, string)
if (ret == NULL) if (ret == NULL)
return NULL; return NULL;
} }
ret = ((struct file_hash_entry *)
hash_newfunc ((struct hash_entry *) ret, table, string));
ret->args = NULL; ret->args = NULL;
ret->dir = NULL; ret->dir = NULL;
ret->main = NULL; ret->main = NULL;
...@@ -204,8 +200,6 @@ demangled_hash_newfunc (entry, table, string) ...@@ -204,8 +200,6 @@ demangled_hash_newfunc (entry, table, string)
if (ret == NULL) if (ret == NULL)
return NULL; return NULL;
} }
ret = ((struct demangled_hash_entry *)
hash_newfunc ((struct hash_entry *) ret, table, string));
ret->mangled = NULL; ret->mangled = NULL;
return (struct hash_entry *) ret; return (struct hash_entry *) ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment