From 5a19baa61b34c9c08cb0a0612b754a08fd54f0c6 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 28 Dec 2021 13:39:27 -0500 Subject: [PATCH] [sixel] kill compiler warning for unused function --- src/lib/sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sixel.c b/src/lib/sixel.c index 16585fad0..bb24a9ef0 100644 --- a/src/lib/sixel.c +++ b/src/lib/sixel.c @@ -144,7 +144,7 @@ ctable_to_dtable(const unsigned char* ctable){ return ctable[3]; // * 256 + ctable[4]; } -static void +__attribute__ ((unused)) static void debug_color_table(const sixeltable* st){ for(int z = 0 ; z < st->map->colors ; ++z){ unsigned char* crec = st->map->table + CENTSIZE * z;