summaryrefslogtreecommitdiff
path: root/tools/lz/nullcomp.c
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-14 18:08:43 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-14 18:08:43 -0400
commit94a70b63cf7f1a9dbfc14fcee8e390791fc17a1b (patch)
treed1b2bb44621d8c2ebae4a613669eb75e37e507ad /tools/lz/nullcomp.c
parent7f6bc3d3826fe7727bdc8714aa0295a712a548c3 (diff)
Sync tools with pokecrystal (fixes warnings when building lzcomp)
palette.c and png_dimensions.c will be synced when they are used.
Diffstat (limited to 'tools/lz/nullcomp.c')
-rw-r--r--tools/lz/nullcomp.c2
1 files changed, 1 insertions, 1 deletions
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;