kopia lustrzana https://gitlab.com/sane-project/backends
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
rodzic
aa5468552b
commit
702a8e27b6
12
backend/p5.c
12
backend/p5.c
|
@ -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.
|
||||
*/
|
||||
|
|
Ładowanie…
Reference in New Issue