X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_ok-typesafe_cb_cast.c;h=bd7b7d6532bffce5da05f1fbc31b055928691376;hb=HEAD;hp=4bb3b8bf10ad68218801024ef427052aba75a570;hpb=b0fa019adb998c20a8740f5696b61ae87d2a77a6;p=ccan diff --git a/ccan/typesafe_cb/test/compile_ok-typesafe_cb_cast.c b/ccan/typesafe_cb/test/compile_ok-typesafe_cb_cast.c index 4bb3b8bf..bd7b7d65 100644 --- a/ccan/typesafe_cb/test/compile_ok-typesafe_cb_cast.c +++ b/ccan/typesafe_cb/test/compile_ok-typesafe_cb_cast.c @@ -19,9 +19,10 @@ struct any { static void take_any(struct any *any) { + (void)any; } -int main(int argc, char *argv[]) +int main(void) { /* Otherwise we get unused warnings for these. */ struct foo *foo = NULL;