summaryrefslogtreecommitdiff
path: root/queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/queue.c b/queue.c
index b5a018d42..2fad5c3ed 100644
--- a/queue.c
+++ b/queue.c
@@ -504,7 +504,8 @@ void delete_Hash(Hash* h, bool free_values) {
free(h);
}
-void stat_Hash(Hash* h)
+#ifdef HASH_STATS
+static void stat_Hash(Hash* h)
{
uint used_buckets = 0;
uint max_collision = 0;
@@ -546,6 +547,7 @@ void stat_Hash(Hash* h)
}
printf ("}\n");
}
+#endif
void clear_Hash(Hash* h, bool free_values)
{