From: Otto Moerbeek Date: Mon, 3 Oct 2022 08:26:30 +0000 (+0200) Subject: Fix unused function warnings if !ENABLE_NOD X-Git-Tag: rec-4.9.0-alpha0~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12047%2Fhead;p=thirdparty%2Fpdns.git Fix unused function warnings if !ENABLE_NOD --- 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"