From 4451b23f111e47dfc2c90eb6b6c102aa449119ce Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Mon, 23 Sep 2024 12:51:34 +0200 Subject: [PATCH] auth: mark doQuestion as a known readability-function-cognitive-complexity problem --- pdns/packethandler.cc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.2