]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: mark doQuestion as a known readability-function-cognitive-complexity problem 14701/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 23 Sep 2024 10:51:34 +0000 (12:51 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 23 Sep 2024 10:51:34 +0000 (12:51 +0200)
pdns/packethandler.cc

index b8aa267ddcb46e218eca36f44214fc74eb541302..d06e4724e127e8c153a22a5ec706e71affb02399 100644 (file)
@@ -1337,6 +1337,7 @@ bool PacketHandler::tryWildcard(DNSPacket& p, std::unique_ptr<DNSPacket>& r, DNS
 }
 
 //! Called by the Distributor to ask a question. Returns 0 in case of an error
+// NOLINTNEXTLINE(readability-function-cognitive-complexity): TODO Clean this function up.
 std::unique_ptr<DNSPacket> PacketHandler::doQuestion(DNSPacket& p)
 {
   DNSZoneRecord rr;