Removed unnecessary memset() after calloc().

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1244 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-09-19 03:44:13 +00:00
parent 1344c87460
commit 5e99935bd9
-2
View File
@@ -169,8 +169,6 @@ HASHTABLE_(setup)(HASHTABLE_(HashTable) *hashTable, uio_uint32 initialSize) {
* hashTable->maxFillQuotient);
hashTable->entries = uio_calloc(hashTable->size,
sizeof (HASHTABLE_(HashEntry) *));
memset(hashTable->entries, '\0',
hashTable->size * sizeof (HASHTABLE_(HashEntry) *));
hashTable->numEntries = 0;
#ifdef HashTable_PROFILE
hashTable->numCollisions = 0;