summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
unsigned int i;
double variance, sum_n_2 = 0, sum_n = 0;
+ if (!hash->size) return;
for (i = 0; i < ecore_prime_table[hash->size]; i++)
{
if (hash->buckets[i])