From ba1a1a4f24fc891b2c208c0af99af4fc1d7b3077 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 3 Oct 2022 10:26:30 +0200 Subject: [PATCH] Fix unused function warnings if !ENABLE_NOD --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index ba69d2c6b2..7148778082 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -799,7 +799,7 @@ bool isAllowNotifyForZone(DNSName qname) return false; } -#ifdef HAVE_FSTRM +#if defined(HAVE_FSTRM) && defined(NOD_ENABLED) #include "dnstap.hh" #include "fstrm_logger.hh" -- 2.47.2