From 8218e8258a145eeaa127e2663a3f123e3a3a12f6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 2 Mar 2025 22:54:45 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- liblss16_optimise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liblss16_optimise.c') 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]; -- cgit v1.2.3-70-g09d2