diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-24 21:03:56 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-24 21:03:56 +0200 |
commit | 58912f68c2489bcee787599837447e0d64dfd61a (patch) | |
tree | dda50aadde35fe152da1a8d50769987ace0f1496 /backend/canon-scsi.c | |
parent | cfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff) |
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/canon-scsi.c')
-rw-r--r-- | backend/canon-scsi.c | 4 |
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++) |