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
This commit is contained in:
Art Haas 1999-03-25 11:50:02 +00:00 committed by Jason Merrill
parent ab8cc6ab9f
commit 9d4c59ab20
2 changed files with 6 additions and 6 deletions

View 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.

View 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;
}