]> git.ozlabs.org Git - ccan/blobdiff - ccan/tcon/test/compile_fail-container1w.c
tcon: fix overzealous gcc 12.2.0 warning.
[ccan] / ccan / tcon / test / compile_fail-container1w.c
index 19ba5bdcc915d22851009a630b4bda32dd85f242..a03f6514e1793b0dce08c45cc23cd34c7078d01c 100644 (file)
@@ -21,7 +21,7 @@ int main(void)
 {
        TCON_WRAP(struct info_base,
                  TCON_CONTAINER(concan, struct outer, inner)) info;
-       struct outer ovar;
+       struct outer ovar = { 0, { 0 } };
 #ifdef FAIL
 #if !HAVE_TYPEOF
 #error We cannot detect type problems without HAVE_TYPEOF