summaryrefslogtreecommitdiffstats
path: root/vm/Hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/Hash.c')
-rw-r--r--vm/Hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/Hash.c b/vm/Hash.c
index 67a25a1f4..7bdd92f20 100644
--- a/vm/Hash.c
+++ b/vm/Hash.c
@@ -282,8 +282,8 @@ bool dvmHashTableRemove(HashTable* pHashTable, u4 itemHash, void* item)
/*
* Scan every entry in the hash table and evaluate it with the specified
- * indirect function call. If the function returns 1, remove the entry from
- * the table.
+ * indirect function call. If the function returns 1, remove the entry from
+ * the table.
*
* Does NOT invoke the "free" function on the item.
*
@@ -400,7 +400,7 @@ void dvmHashTableProbeCount(HashTable* pHashTable, HashCalcFunc calcFunc,
{
const void* data = (const void*)dvmHashIterData(&iter);
int count;
-
+
count = countProbes(pHashTable, (*calcFunc)(data), data, cmpFunc);
numEntries++;