]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Admit defeat against clang-tidy for now
authorMiod Vallat <miod.vallat@powerdns.com>
Mon, 11 Aug 2025 12:06:08 +0000 (14:06 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Mon, 11 Aug 2025 12:18:43 +0000 (14:18 +0200)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/pdnsutil.cc

index 95a60f03a3bf4f12a01915351bac02ba3f8d0728..61fc218ee08515b8daafa739d49bfff45fb548db 100644 (file)
@@ -1952,6 +1952,7 @@ static bool increaseZoneSerial(DNSSECKeeper& dsk, DomainInfo& info, std::vector<
   return true;
 }
 
+// NOLINTNEXTLINE(readability-function-cognitive-complexity): despite moving a lot of it into subroutines, it's still a bit over the threshold as of 20250811
 static int editZone(const ZoneName &zone, const PDNSColors& col)
 {
   UtilBackend B; //NOLINT(readability-identifier-length)