Not sure why the compiler is more picky here than on other inits, but
maybe it's "... = {2}" vs "... = {0}" (which means "all is 0", so the
actual element first in the struct does not matter). Anyway, ".n = 2"
is what we want so there is no harm in writing that done :-) - and
the buildbots agree that all platform compilers are fine with it.
Your patch has been applied to the master branch.
commit 2a50daf5fe6c924c8d945b3d0455c9e282cd769f
Author: Frank Lichtenheld
Date: Sat Jan 25 11:08:38 2025 +0100
tls_crypt_v2_write_client_key_file: Fix missing-field-initializers
compiler warning
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg30588.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