X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcontainer_of%2Ftest%2Fcompile_fail-types.c;h=cae1c7abd20a1ed36ae6072faa8b50d9aea2644e;hp=a50b11c2b36b69e3dadd8766916a2eabb96f825a;hb=f27c9672ef62379e09793dcf42725bf9c37f44bf;hpb=a89ccb89e84236ba0226038a1cbecc901e95614b diff --git a/ccan/container_of/test/compile_fail-types.c b/ccan/container_of/test/compile_fail-types.c index a50b11c2..cae1c7ab 100644 --- a/ccan/container_of/test/compile_fail-types.c +++ b/ccan/container_of/test/compile_fail-types.c @@ -17,5 +17,6 @@ int main(int argc, char *argv[]) #else foop = NULL; #endif + (void) foop; /* Suppress unused-but-set-variable warning. */ return intp == NULL; }