From 314b8f700ea73503c37902c32a1ab6a9009c4d53 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 16 Jan 2024 15:45:07 +0100 Subject: [PATCH] tidy: this function is not really complex, just long --- pdns/lua-record.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2