]> git.ozlabs.org Git - ccan/blobdiff - ccan/tcon/test/compile_fail-container1.c
tcon: fix overzealous gcc 12.2.0 warning.
[ccan] / ccan / tcon / test / compile_fail-container1.c
index 44645a7ec6d417875ceed8910915efea3a0d2193..ed1d3e206acd97eee8cf46b69e8018a5a87096e4 100644 (file)
@@ -25,7 +25,7 @@ struct info_tcon {
 int main(void)
 {
        struct info_tcon info;
-       struct outer ovar;
+       struct outer ovar = { 0, { 0 } };
 #ifdef FAIL
 #if !HAVE_TYPEOF
 #error We cannot detect type problems without HAVE_TYPEOF