X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftcon%2Ftest%2Fcompile_fail-container1w.c;h=a03f6514e1793b0dce08c45cc23cd34c7078d01c;hp=19ba5bdcc915d22851009a630b4bda32dd85f242;hb=e62e48b9d841dd7bac1955df177c2089eb4719b7;hpb=374a0b73cc507b3121cf40cab77dc0d3eab794a9 diff --git a/ccan/tcon/test/compile_fail-container1w.c b/ccan/tcon/test/compile_fail-container1w.c index 19ba5bdc..a03f6514 100644 --- a/ccan/tcon/test/compile_fail-container1w.c +++ b/ccan/tcon/test/compile_fail-container1w.c @@ -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