This makes sense - it matches how we do struct initialization elsewhere
(in networking_sitnl, a few '= {}' remain, but everything else clears
with CLEAR() or with '= { 0 }').

For a sanity check, compiled on ubuntu2404/mingw.

Your patch has been applied to the master branch.

commit 5888adc6fa86ae6ec718c76f733733c8b9fbd38b
Author: Heiko Hund
Date:   Tue Nov 11 18:24:57 2025 +0100

     msvc: fix struct initialization for v19 compilers

     Signed-off-by: Heiko Hund <[email protected]>
     Acked-by: Frank Lichtenheld <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1366
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg34327.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to