From: Remi Gacogne Date: Mon, 25 May 2020 09:17:24 +0000 (+0200) Subject: rec: Remove unused getQueryLocalAddress stub in the unit tests X-Git-Tag: dnsdist-1.5.0-rc3~39^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9141%2Fhead;p=thirdparty%2Fpdns.git rec: Remove unused getQueryLocalAddress stub in the unit tests The real function moved to the pdns namespace anyway. --- diff --git a/pdns/recursordist/Makefile.am b/pdns/recursordist/Makefile.am index 099982712e..4fcb19ca72 100644 --- a/pdns/recursordist/Makefile.am +++ b/pdns/recursordist/Makefile.am @@ -224,6 +224,7 @@ endif testrunner_SOURCES = \ arguments.cc \ + axfr-retriever.hh axfr-retriever.cc \ base32.cc \ base64.cc base64.hh \ circular_buffer.hh \ @@ -263,7 +264,6 @@ testrunner_SOURCES = \ responsestats.cc \ rpzloader.cc rpzloader.hh \ resolver.hh resolver.cc \ - axfr-retriever.hh axfr-retriever.cc \ root-dnssec.hh \ secpoll.cc \ sillyrecords.cc \ diff --git a/pdns/recursordist/test-rpzloader_cc.cc b/pdns/recursordist/test-rpzloader_cc.cc index 16fb153b51..8d4d703453 100644 --- a/pdns/recursordist/test-rpzloader_cc.cc +++ b/pdns/recursordist/test-rpzloader_cc.cc @@ -11,12 +11,6 @@ // Provide stubs for some symbols bool g_logRPZChanges{false}; -ComboAddress getQueryLocalAddress(int family, uint16_t port) -{ - cerr << "getQueryLocalAddress() STUBBED IN TEST!" << endl; - BOOST_ASSERT(false); - return ComboAddress(); -} BOOST_AUTO_TEST_SUITE(rpzloader_cc)