dc25: Fix [-Wunused-const-variable=] compiler warning

The percentage_range hasn't been used for anything since the initial
revision of the file.

This also gets rid of a [-Wshift-negative-value] warning as well as a
"initializer element is not a constant expression" pedantic warning.
merge-requests/1/head
Olaf Meeuwissen 2017-06-26 10:38:44 +09:00
rodzic a52d843da4
commit 754a7164f3
1 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -148,12 +148,6 @@ static SANE_Byte contrast_table[256];
static struct pixmap *pp;
static const SANE_Range percentage_range = {
-100 << SANE_FIXED_SCALE_SHIFT, /* minimum */
100 << SANE_FIXED_SCALE_SHIFT, /* maximum */
0 << SANE_FIXED_SCALE_SHIFT /* quantization */
};
static const SANE_Range contrast_range = {
0 << SANE_FIXED_SCALE_SHIFT, /* minimum */
3 << SANE_FIXED_SCALE_SHIFT, /* maximum */