diff --git a/util/storage/lruhash.c b/util/storage/lruhash.c index f5c81c853..d73eae313 100644 --- a/util/storage/lruhash.c +++ b/util/storage/lruhash.c @@ -47,6 +47,9 @@ void bin_init(struct lruhash_bin* array, size_t size) { size_t i; +#if !defined(HAVE_PTHREAD) && !defined(HAVE_SOLARIS_THREADS) + (void)array; +#endif for(i=0; isize_mask; +#endif /* so, really, this task could also be threaded, per bin. */ /* LRU list is not changed */ for(i=0; isize; i++)