From a2083538e97b6419e70414ab0c42aa42a78fbce4 Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Mon, 26 Jun 2017 11:35:06 +0900 Subject: [PATCH] tamarack: Fix [-Wunused-const-variable=] compiler warning The u8_range has been `#if 0`'d to match the gamma options' have been disabled (since the initial revision). The options refer to u8_range. --- backend/tamarack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/tamarack.c b/backend/tamarack.c index 619c34fac..3fda5a7c3 100644 --- a/backend/tamarack.c +++ b/backend/tamarack.c @@ -92,12 +92,14 @@ static const SANE_String_Const mode_list[] = }; +#if 0 static const SANE_Range u8_range = { 0, /* minimum */ 255, /* maximum */ 0 /* quantization */ }; +#endif /* David used " 100 << SANE_FIXED_SCALE_SHIFT ". This assumes that