summaryrefslogtreecommitdiff
path: root/tools/lz/repcomp.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/repcomp.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/repcomp.c')
-rw-r--r--tools/lz/repcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lz/repcomp.c b/tools/lz/repcomp.c
index 754529e8..f2bbad8a 100644
--- a/tools/lz/repcomp.c
+++ b/tools/lz/repcomp.c
@@ -7,7 +7,7 @@
(lowest bit to highest: repeat single byte (1), repeat two bytes (2), repeat zeros (3)).
*/
-struct command * try_compress_repetitions (const unsigned char * data, const unsigned char * bitflipped, unsigned short * size, unsigned flags) {
+struct command * try_compress_repetitions (const unsigned char * data, __attribute__((unused)) const unsigned char * bitflipped, unsigned short * size, unsigned flags) {
unsigned short pos = 0, skipped = 0;
struct command * result = malloc(*size * sizeof(struct command));
struct command * current = result;