X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcast%2Ftest%2Fcompile_fail-cast_static-2.c;fp=ccan%2Fcast%2Ftest%2Fcompile_fail-cast_static-2.c;h=8a1202538455ecc4a30b96bd352f843e1d6c07d3;hb=f27c9672ef62379e09793dcf42725bf9c37f44bf;hp=d3ba8d3ed602b8c97629eb968a507e3039f16a67;hpb=a89ccb89e84236ba0226038a1cbecc901e95614b;p=ccan diff --git a/ccan/cast/test/compile_fail-cast_static-2.c b/ccan/cast/test/compile_fail-cast_static-2.c index d3ba8d3e..8a120253 100644 --- a/ccan/cast/test/compile_fail-cast_static-2.c +++ b/ccan/cast/test/compile_fail-cast_static-2.c @@ -12,6 +12,7 @@ int main(int argc, char *argv[]) *p = 0; c = cast_static(char *, p); + (void) c; /* Suppress unused-but-set-variable warning. */ return 0; }