From: Miod Vallat Date: Wed, 11 Feb 2026 11:16:00 +0000 (+0100) Subject: Get rid of a "may be uninitialized" warning. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d6f4d296612eeb1610697d793a12a2bdfa5de0a;p=thirdparty%2Fpdns.git Get rid of a "may be uninitialized" warning. Signed-off-by: Miod Vallat --- diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 310c2ea238..29dc721f53 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -2734,7 +2734,7 @@ static void patchZone(UeberBackend& backend, const ZoneName& zonename, DomainInf cacheNeeded = (operations & ((1U << PRUNE) | (1U << EXTEND))) != 0; } - applyResult result; + applyResult result{ABORT}; std::vector rrset; switch (operationType) { case DELETE: