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

The u8_range and threshold_percentage_range constants have not been
used for anything ever since the backend's addition.  They probable
ended up in the code as a result of copy-and-paste.
merge-requests/1/head
Olaf Meeuwissen 2017-06-26 11:43:01 +09:00
rodzic aa5468552b
commit 702a8e27b6
1 zmienionych plików z 0 dodań i 12 usunięć

Wyświetl plik

@ -112,18 +112,6 @@ static SANE_Range y_range = {
SANE_FIX (0.0) /* no quantization */
};
static const SANE_Range u8_range = {
0, /* minimum */
255, /* maximum */
0 /* no quantization */
};
static const SANE_Range threshold_percentage_range = {
SANE_FIX (0), /* minimum */
SANE_FIX (100), /* maximum */
SANE_FIX (1) /* quantization */
};
/**
* finds the maximum string length in a string array.
*/