From: Miod Vallat Date: Fri, 5 Dec 2025 14:58:09 +0000 (+0100) Subject: Clang-tidy wants an initializer here. X-Git-Tag: auth-5.0.2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03c36029beab2182d1f26a54f90423766f32712b;p=thirdparty%2Fpdns.git Clang-tidy wants an initializer here. Signed-off-by: Miod Vallat --- diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 4b09ff6743..11ac1ccc92 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -2647,7 +2647,7 @@ static void patchZone(UeberBackend& backend, const ZoneName& zonename, DomainInf cacheNeeded = (operations & ((1U << PRUNE) | (1U << EXTEND))) != 0; } - applyResult result; + applyResult result{NOP}; std::vector rrset; switch (operationType) { case DELETE: