diff --git a/src/utils_cache.c b/src/utils_cache.c
index fa6e6603ec3e10eedcdc6ea7d56ab64a0b04db6e..05386db9d33e9f12fa486ec90cf5cbf67868c23d 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
static int cache_compare (const cache_entry_t *a, const cache_entry_t *b)
{
+#if COLLECT_DEBUG
assert ((a != NULL) && (b != NULL));
+#endif
return (strcmp (a->name, b->name));
} /* int cache_compare */