]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Clang-tidy wants an initializer here.
authorMiod Vallat <miod.vallat@powerdns.com>
Fri, 5 Dec 2025 14:58:09 +0000 (15:58 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Fri, 5 Dec 2025 14:58:09 +0000 (15:58 +0100)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/ws-auth.cc

index 4b09ff67430f5f43da3b79d164adfd6192464d2c..11ac1ccc923549718e60d241d98c0fd0f7c5620c 100644 (file)
@@ -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<DNSResourceRecord> rrset;
       switch (operationType) {
       case DELETE: