X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftcon%2Ftest%2Fcompile_ok-void.c;fp=ccan%2Ftcon%2Ftest%2Fcompile_ok-void.c;h=442ca6599938b2877b5615fc0bf036b26c2e1c6f;hb=ad2ce76c10f808283ea7cf25cd8e76a15710c4f3;hp=694a53b533d87db6478dda4557d77c2b206e1ad6;hpb=5877402640cff05f779b23a730e4cc62d729113f;p=ccan 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;