summaryrefslogtreecommitdiff
path: root/backend/canon-scsi.c
diff options
context:
space:
mode:
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++)