From: Miod Vallat Date: Thu, 6 Nov 2025 13:09:26 +0000 (+0100) Subject: Remove dead code. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16445%2Fhead;p=thirdparty%2Fpdns.git Remove dead code. Signed-off-by: Miod Vallat --- diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 5e7f872da0..1ddf071042 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -300,20 +300,6 @@ private: state->weight = weight; } - void setDown(const ComboAddress& rem, const std::string& url=std::string(), const opts_t& opts = opts_t()) - { - //NOLINTNEXTLINE(readability-identifier-length) - CheckDesc cd{rem, url, opts}; - setStatus(cd, false); - } - - void setUp(const ComboAddress& rem, const std::string& url=std::string(), const opts_t& opts = opts_t()) - { - CheckDesc cd{rem, url, opts}; - - setStatus(cd, true); - } - void setDown(const CheckDesc& cd) { setStatus(cd, false);