]> git.ozlabs.org Git - ccan/blobdiff - ccan/tcon/test/compile_fail-container3.c
tcon: fix overzealous gcc 12.2.0 warning.
[ccan] / ccan / tcon / test / compile_fail-container3.c
index 9185225a9361903e25e86ce616e31da0e502e577..dfdfdba9a3412ef692311762b9cdfdd54d01c4e5 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