X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcast%2Ftest%2Fcompile_fail-cast_const.c;h=277f3de1c442b21fd9a8953b560a97d5bbb80e58;hp=d401cc8ca91c488c159fb8f0d0bdb63bb0fd9df4;hb=6569a707d169a629e25e10710c760c8dc84525c7;hpb=4a084a9e956e6e5fec9f9ecb02ca56a79de4a422 diff --git a/ccan/cast/test/compile_fail-cast_const.c b/ccan/cast/test/compile_fail-cast_const.c index d401cc8c..277f3de1 100644 --- a/ccan/cast/test/compile_fail-cast_const.c +++ b/ccan/cast/test/compile_fail-cast_const.c @@ -18,6 +18,7 @@ int main(int argc, char *argv[]) *p = NULL; uc = cast_const(char *, p); + (void) uc; /* Suppress unused-but-set-variable warning. */ return 0; }