From 94a70b63cf7f1a9dbfc14fcee8e390791fc17a1b Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 14 Jun 2020 18:08:43 -0400 Subject: Sync tools with pokecrystal (fixes warnings when building lzcomp) palette.c and png_dimensions.c will be synced when they are used. --- tools/lz/nullcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lz/nullcomp.c') diff --git a/tools/lz/nullcomp.c b/tools/lz/nullcomp.c index 33d0b726..d4535bd3 100644 --- a/tools/lz/nullcomp.c +++ b/tools/lz/nullcomp.c @@ -6,7 +6,7 @@ Flags values: 0 = split a trailing 33-to-64-byte block at the end into two short blocks; 1 = don't */ -struct command * store_uncompressed (const unsigned char * data, const unsigned char * bitflipped, unsigned short * size, unsigned flags) { +struct command * store_uncompressed (__attribute__((unused)) const unsigned char * data, __attribute__((unused)) const unsigned char * bitflipped, unsigned short * size, unsigned flags) { unsigned short position, block, remainder = *size; struct command * result = NULL; *size = 0; -- cgit v1.2.3