]> git.ozlabs.org Git - ccan/blobdiff - ccan/cast/test/compile_fail-cast_const3.c
cast, container_of, tlist: Fix warning with GCC 4.6: -Wunused-but-set-variable
[ccan] / ccan / cast / test / compile_fail-cast_const3.c
index f782f9d9ec5d10fc317021179934b17057ae60e0..e958e2dde5b61c485f63be5008c3ac5137733ecc 100644 (file)
@@ -18,6 +18,7 @@ int main(int argc, char *argv[])
                ***p = NULL;
 
        uc = cast_const3(char ***, p);
+       (void) uc; /* Suppress unused-but-set-variable warning. */
        return 0;
 }