Skip to content

Commit

Permalink
Merge pull request #9141 from rgacogne/rec-remove-getquerylocaladdres…
Browse files Browse the repository at this point in the history
…s-stub

rec: Remove unused getQueryLocalAddress stub in the unit tests
  • Loading branch information
rgacogne authored May 25, 2020
2 parents 036915c + 3a727af commit a028959
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion pdns/recursordist/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ endif

testrunner_SOURCES = \
arguments.cc \
axfr-retriever.hh axfr-retriever.cc \
base32.cc \
base64.cc base64.hh \
circular_buffer.hh \
Expand Down Expand Up @@ -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 \
Expand Down
6 changes: 0 additions & 6 deletions pdns/recursordist/test-rpzloader_cc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a028959

Please sign in to comment.