From: Peter van Dijk Date: Tue, 16 Jan 2024 14:45:07 +0000 (+0100) Subject: tidy: this function is not really complex, just long X-Git-Tag: dnsdist-1.9.0-rc1~26^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=314b8f700ea73503c37902c32a1ab6a9009c4d53;p=thirdparty%2Fpdns.git tidy: this function is not really complex, just long --- diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index dacc3cee76..5b82aed887 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -649,7 +649,7 @@ static vector genericIfUp(const boost::variant& return convComboAddressListToString(res); } -static void setupLuaRecords(LuaContext& lua) +static void setupLuaRecords(LuaContext& lua) // NOLINT(readability-function-cognitive-complexity { lua.writeFunction("latlon", []() { double lat = 0, lon = 0;