X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftcon%2Ftest%2Fcompile_ok-void.c;h=442ca6599938b2877b5615fc0bf036b26c2e1c6f;hp=694a53b533d87db6478dda4557d77c2b206e1ad6;hb=HEAD;hpb=43992de4769085b3aba0fd9c167a85ad14e771d2 diff --git a/ccan/tcon/test/compile_ok-void.c b/ccan/tcon/test/compile_ok-void.c index 694a53b5..442ca659 100644 --- a/ccan/tcon/test/compile_ok-void.c +++ b/ccan/tcon/test/compile_ok-void.c @@ -15,6 +15,7 @@ int main(int argc, char *argv[]) struct void_container vcon; TCON_WRAP(struct container, void *canary) vconw; + (void)argc; tcon_check(&vcon, canary, NULL)->raw.p = NULL; tcon_check(&vcon, canary, argv[0])->raw.p = NULL; tcon_check(&vcon, canary, main)->raw.p = NULL;