diff --git a/plug-ins/file-dds/dxt.c b/plug-ins/file-dds/dxt.c index d19b74783a..14e203c99e 100644 --- a/plug-ins/file-dds/dxt.c +++ b/plug-ins/file-dds/dxt.c @@ -108,6 +108,9 @@ extract_block (const unsigned char *src, } } +#if 0 +/* Currently unused, hidden to avoid compilation warnings. */ + /* pack BGR8 to RGB565 */ static inline unsigned short pack_rgb565 (const unsigned char *c) @@ -116,6 +119,7 @@ pack_rgb565 (const unsigned char *c) (mul8bit(c[1], 63) << 5) | (mul8bit(c[0], 31) ); } +#endif /* unpack RGB565 to BGR */ static void