summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eina/ecore_hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/benchmarks/eina/ecore_hash.c b/src/benchmarks/eina/ecore_hash.c
index 76a5ad2e38..ae9befa6b5 100644
--- a/src/benchmarks/eina/ecore_hash.c
+++ b/src/benchmarks/eina/ecore_hash.c
@@ -416,6 +416,7 @@ ecore_hash_dump_stats(Ecore_Hash *hash)
416 unsigned int i; 416 unsigned int i;
417 double variance, sum_n_2 = 0, sum_n = 0; 417 double variance, sum_n_2 = 0, sum_n = 0;
418 418
419 if (!hash->size) return;
419 for (i = 0; i < ecore_prime_table[hash->size]; i++) 420 for (i = 0; i < ecore_prime_table[hash->size]; i++)
420 { 421 {
421 if (hash->buckets[i]) 422 if (hash->buckets[i])