From: Peter van Dijk Date: Mon, 12 Sep 2022 07:36:56 +0000 (+0200) Subject: auth LUA: fix "braces around scalar initializer" warning X-Git-Tag: auth-4.6.4~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12033%2Fhead;p=thirdparty%2Fpdns.git auth LUA: fix "braces around scalar initializer" warning inspired by #6188 (cherry picked from commit d27a2d307e4a0dcf0671046910994a2bf3ba945e) --- diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 19bcb6ac53..18d69f3739 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -74,8 +74,9 @@ private: }; public: - IsUpOracle(): d_checkerThreadStarted(ATOMIC_FLAG_INIT) + IsUpOracle() { + d_checkerThreadStarted.clear(); } ~IsUpOracle() {