From c6220dc7beac979b4479653a09f35f3cfecc0f42 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 26 Oct 2019 18:32:17 +0200 Subject: [PATCH] fpga_compress: unused parameter warning --- tools/fpga_compress/fpga_compress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/fpga_compress/fpga_compress.c b/tools/fpga_compress/fpga_compress.c index 2174571d6..56dab1865 100644 --- a/tools/fpga_compress/fpga_compress.c +++ b/tools/fpga_compress/fpga_compress.c @@ -53,11 +53,13 @@ static void usage(void) { static voidpf fpga_deflate_malloc(voidpf opaque, uInt items, uInt size) { + (void) opaque; return calloc(items * size, sizeof(uint8_t)); } static void fpga_deflate_free(voidpf opaque, voidpf address) { + (void) opaque; free(address); }