summaryrefslogtreecommitdiff
path: root/tools/lz/repcomp.c
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-05-28 06:44:10 -0400
committerentrpntr <entrpntr@gmail.com>2020-06-14 15:07:27 -0400
commit4ac8bcc29a4ad5bb908b692baa040e7c7eb21249 (patch)
treed4e14bd6d9c367a1d5993dc9729451a3770f9870 /tools/lz/repcomp.c
parent4517c08edaa6783fac0fb15dd98b476e066134f8 (diff)
Checkpoint where things mostly work.
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 f2bbad8a..754529e8 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, __attribute__((unused)) const unsigned char * bitflipped, unsigned short * size, unsigned flags) {
+struct command * try_compress_repetitions (const unsigned char * data, 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;