kopia lustrzana https://gitlab.com/sane-project/backends
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
rodzic
a52d843da4
commit
754a7164f3
|
@ -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 */
|
||||
|
|
Ładowanie…
Reference in New Issue