]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Get rid of a "may be uninitialized" warning. 16854/head
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 11 Feb 2026 11:16:00 +0000 (12:16 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Wed, 11 Feb 2026 11:16:00 +0000 (12:16 +0100)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/ws-auth.cc

index 310c2ea23828851d6958b76fbcaae2ef0952e4a2..29dc721f53a219e52b143d23f66bcde1024e8d55 100644 (file)
@@ -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<DNSResourceRecord> rrset;
       switch (operationType) {
       case DELETE: