From: Peter van Dijk Date: Fri, 6 Dec 2019 13:32:44 +0000 (+0100) Subject: remove unused variable X-Git-Tag: auth-4.3.0-alpha1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8249%2Fhead;p=thirdparty%2Fpdns.git remove unused variable --- diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index c3ff6fc632..f7f3ef0009 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -244,9 +244,6 @@ bool IsUpOracle::isUp(const CheckDesc& cd) if (cd.opts.count("source")) { ComboAddress src(cd.opts.at("source")); } - if (cd.opts.count("timeout")) { - int timeout = std::atoi(cd.opts.at("timeout").c_str()); - } { WriteLock lock{&d_lock}; // Make sure we don't insert new entry twice now we have the lock