]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add NOLINT marker for readability-function-cognitive-complexity 13286/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 22 Sep 2023 10:48:39 +0000 (12:48 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 22 Sep 2023 10:48:39 +0000 (12:48 +0200)
pdns/recursordist/pdns_recursor.cc

index 41de6c479f9946ebaf0f51cd526a77ab285342a2..6f841c6147823adbf397730a42362d39cb13b277 100644 (file)
@@ -2334,7 +2334,7 @@ static string* doProcessUDPQuestion(const std::string& question, const ComboAddr
   return 0;
 }
 
-static void handleNewUDPQuestion(int fd, FDMultiplexer::funcparam_t& /* var */)
+static void handleNewUDPQuestion(int fd, FDMultiplexer::funcparam_t& /* var */) // NOLINT(readability-function-cognitive-complexity)
 {
   ssize_t len;
   static const size_t maxIncomingQuerySize = g_proxyProtocolACL.empty() ? 512 : (512 + g_proxyProtocolMaximumSize);