From 291e9469c5a640260fb11c40ded2c82485920268 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 24 Jul 2019 03:20:32 +0200 Subject: [PATCH] fix unused variable warning --- src/op_c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/op_c.c b/src/op_c.c index 5ef66789..9e0ee8fa 100644 --- a/src/op_c.c +++ b/src/op_c.c @@ -1426,8 +1426,10 @@ static const byte precision_24b[]= // Give this one a 24b source, get back the 256c bitmap and its palette int Convert_24b_bitmap_to_256(T_Bitmap256 dest,T_Bitmap24B source,int width,int height,T_Components * palette) { +#if !(defined(__GP2X__) || defined(__gp2x__) || defined(__WIZ__) || defined(__CAANOO__)) CT_Tree* table; // table de conversion int ip; // index de précision pour la conversion +#endif if (Try_Convert_to_256_Without_Loss(dest, source, width, height, palette) == 0) return 0;