From e3068ed111fb5c3d338026406dd6ab24363edea3 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 26 Nov 2022 21:48:17 +0000 Subject: Fix warning in cache.c --- src/cache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cache.c b/src/cache.c index b3c38c0..8f73233 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1897,8 +1897,10 @@ void dump_cache(time_t now) char *record_source(unsigned int index) { struct hostsfile *ah; +#ifdef HAVE_INOTIFY struct dyndir *dd; - +#endif + if (index == SRC_CONFIG) return "config"; else if (index == SRC_HOSTS) -- cgit v1.2.1