Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg

This commit is contained in:
2007-03-27 08:33:38 -07:00
parent 284f3728c3
commit 0f08b75950
55 changed files with 95 additions and 465 deletions

View File

@@ -47,7 +47,6 @@ PLDHashTableOps nsCommandParams::sHashOps =
{
PL_DHashAllocTable,
PL_DHashFreeTable,
HashGetKey,
HashKey,
HashMatchEntry,
HashMoveEntry,
@@ -354,14 +353,6 @@ nsCommandParams::GetOrMakeEntry(const char * name, PRUint8 entryType, HashEntry*
#pragma mark -
#endif
const void *
nsCommandParams::HashGetKey(PLDHashTable *table, PLDHashEntryHdr *entry)
{
HashEntry* thisEntry = NS_STATIC_CAST(HashEntry*, entry);
return (void *)thisEntry->mEntryName.get();
}
PLDHashNumber
nsCommandParams::HashKey(PLDHashTable *table, const void *key)
{