]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
tidy: this function is not really complex, just long
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 16 Jan 2024 14:45:07 +0000 (15:45 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 16 Jan 2024 14:45:07 +0000 (15:45 +0100)
pdns/lua-record.cc

index dacc3cee7611617ee70ba785ae763dbda40e8a6a..5b82aed8875775c40e1b475ed9101997ec668cdd 100644 (file)
@@ -649,7 +649,7 @@ static vector<string> genericIfUp(const boost::variant<iplist_t, ipunitlist_t>&
   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;