]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix a clang-tidy warning in the custom web handlers code 14341/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 17 Jun 2024 13:58:06 +0000 (15:58 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 17 Jun 2024 13:58:06 +0000 (15:58 +0200)
pdns/dnsdistdist/dnsdist-web.cc

index f439fe9b4a6de5759a8794fdd2078f51f7ec8684..45c9b431e667c400a27893e5f8f1dd2b44be42d1 100644 (file)
@@ -1720,7 +1720,7 @@ using WebHandler = std::function<void(const YaHTTP::Request&, YaHTTP::Response&)
 struct WebHandlerContext
 {
   WebHandler d_handler;
-  bool d_isLua;
+  bool d_isLua{false};
 };
 
 static SharedLockGuarded<std::unordered_map<std::string, WebHandlerContext>> s_webHandlers;