X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftcon%2Ftest%2Fcompile_fail-container3w.c;h=a56e510f1e2bb86f326b917ad61bc17c839281b2;hb=e62e48b9d841dd7bac1955df177c2089eb4719b7;hp=958e5c8b3dca47c67c1f23aa25fe9fc29e759e90;hpb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;p=ccan diff --git a/ccan/tcon/test/compile_fail-container3w.c b/ccan/tcon/test/compile_fail-container3w.c index 958e5c8b..a56e510f 100644 --- a/ccan/tcon/test/compile_fail-container3w.c +++ b/ccan/tcon/test/compile_fail-container3w.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