Fix warning in cache.c
authorBrad Smith <brad@comstyle.com>
Sat, 26 Nov 2022 21:48:17 +0000 (21:48 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Sat, 26 Nov 2022 21:48:17 +0000 (21:48 +0000)
src/cache.c

index b3c38c0..8f73233 100644 (file)
@@ -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)