]> git.ozlabs.org Git - ccan/blobdiff - ccan/container_of/test/compile_fail-types.c
cast, container_of, tlist: Fix warning with GCC 4.6: -Wunused-but-set-variable
[ccan] / ccan / container_of / test / compile_fail-types.c
index a50b11c2b36b69e3dadd8766916a2eabb96f825a..cae1c7abd20a1ed36ae6072faa8b50d9aea2644e 100644 (file)
@@ -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;
 }