X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-typesafe_cb_cast-multi.c;h=d85886c929f470ebad95f3400391424dc112c70c;hp=62b5f91e1807cdaaebff2a0a0f95bd554388add5;hb=HEAD;hpb=72dc7d42c92fcfbafcc7e3b3b1518c9aa4a2e874 diff --git a/ccan/typesafe_cb/test/compile_fail-typesafe_cb_cast-multi.c b/ccan/typesafe_cb/test/compile_fail-typesafe_cb_cast-multi.c index 62b5f91e..d85886c9 100644 --- a/ccan/typesafe_cb/test/compile_fail-typesafe_cb_cast-multi.c +++ b/ccan/typesafe_cb/test/compile_fail-typesafe_cb_cast-multi.c @@ -23,9 +23,10 @@ struct other { static void take_any(struct any *any) { + (void)any; } -int main(int argc, char *argv[]) +int main(void) { #ifdef FAIL struct other