From: Chris Hofstaedtler Date: Mon, 23 Sep 2024 10:51:34 +0000 (+0200) Subject: auth: mark doQuestion as a known readability-function-cognitive-complexity problem X-Git-Tag: rec-5.2.0-alpha1~59^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14701%2Fhead;p=thirdparty%2Fpdns.git auth: mark doQuestion as a known readability-function-cognitive-complexity problem --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index b8aa267ddc..d06e4724e1 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -1337,6 +1337,7 @@ bool PacketHandler::tryWildcard(DNSPacket& p, std::unique_ptr& 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 PacketHandler::doQuestion(DNSPacket& p) { DNSZoneRecord rr;