aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-02 22:54:45 +0100
committerMattias Andrée <m@maandree.se>2025-03-02 22:54:45 +0100
commit8218e8258a145eeaa127e2663a3f123e3a3a12f6 (patch)
tree85b33435cb8801897bc36a04c6479704b9b3af5b
parentm (diff)
downloadliblss16-8218e8258a145eeaa127e2663a3f123e3a3a12f6.tar.gz
liblss16-8218e8258a145eeaa127e2663a3f123e3a3a12f6.tar.bz2
liblss16-8218e8258a145eeaa127e2663a3f123e3a3a12f6.tar.xz
m
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--liblss16_optimise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblss16_optimise.c b/liblss16_optimise.c
index 83d0c21..5e69d85 100644
--- a/liblss16_optimise.c
+++ b/liblss16_optimise.c
@@ -6,7 +6,7 @@
void
liblss16_optimise(struct liblss16_header *header, uint8_t *pixels)
{
- uint8_t remap[16], unmap[16], ncolours, colour, preferred, dummy = 0;
+ uint8_t remap[16], unmap[16], ncolours = 0, colour, preferred, dummy = 0;
unsigned x, y, count, width;
size_t p, n;
int32_t zero[16], nonzero[16];