]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
One less function in need of a lint function-cognitive-complexity exemption.
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 22 Oct 2025 13:22:50 +0000 (15:22 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Wed, 3 Dec 2025 06:51:44 +0000 (07:51 +0100)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/rfc2136handler.cc

index de6be0d9b7fa51168ecc6169b6128e1a949cefdf..d76da96b9e964ade7be699c278af9f6fe06d5f14 100644 (file)
@@ -399,7 +399,6 @@ static uint performInsert(const DNSRecord* rr, updateContext& ctx, vector<DNSRes
 // the code that calls this performUpdate().
 // Caller has checked that we are allowed to delete the record and has handled
 // the NSEC3PARAM case already.
-// NOLINTNEXTLINE(readability-function-cognitive-complexity)
 static uint performDelete(const DNSRecord* rr, const updateContext& ctx, vector<DNSResourceRecord>& rrset, set<DNSName>& insnonterm, set<DNSName>& delnonterm) // NOLINT(readability-identifier-length)
 {
   vector<DNSResourceRecord> recordsToDelete;