summaryrefslogtreecommitdiff
path: root/backend/canon-scsi.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/canon-scsi.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
Diffstat (limited to 'backend/canon-scsi.c')
-rw-r--r--backend/canon-scsi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/canon-scsi.c b/backend/canon-scsi.c
index 423a07e..a83e518 100644
--- a/backend/canon-scsi.c
+++ b/backend/canon-scsi.c
@@ -688,7 +688,7 @@ static SANE_Status
set_parameters_fs2710 (SANE_Handle handle)
{
CANON_Scanner *s = handle;
- int i, j, invert, shadow[4], hilite[4];
+ int i, j, shadow[4], hilite[4];
double x, b, c;
shadow[1] = s->ShadowR << 4;
@@ -700,8 +700,6 @@ set_parameters_fs2710 (SANE_Handle handle)
c = ((double) s->contrast) / 128.0;
b = ((double) (s->brightness - 128)) / 128.0;
- invert = strcmp (filmtype_list[1], s->val[OPT_NEGATIVE].s);
-
for (i = 1; i < 4; i++)
{
for (j = 0; j < 4096; j++)