summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2022-11-26 21:48:17 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2022-11-26 21:48:17 +0000
commite3068ed111fb5c3d338026406dd6ab24363edea3 (patch)
treec230fd6b940c1e265a47051b4169d15b8921df54
parentefbf80be5834e922b00784a00f27636c0f8e4034 (diff)
downloaddnsmasq-e3068ed111fb5c3d338026406dd6ab24363edea3.tar.gz
Fix warning in cache.c
-rw-r--r--src/cache.c4
1 files changed, 3 insertions, 1 deletions
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)