summaryrefslogtreecommitdiff
path: root/backend/mustek_pp_cis.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/mustek_pp_cis.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/mustek_pp_cis.c')
-rw-r--r--backend/mustek_pp_cis.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/mustek_pp_cis.c b/backend/mustek_pp_cis.c
index d5ef86d..96e89f1 100644
--- a/backend/mustek_pp_cis.c
+++ b/backend/mustek_pp_cis.c
@@ -1526,7 +1526,7 @@ static void
cis_get_next_line (Mustek_PP_CIS_dev * dev, SANE_Byte * buf)
{
SANE_Byte *dest, *tmpbuf = dev->tmpbuf;
- int ctr, channel, first, last, stride, ignore, step = dev->CIS.line_step;
+ int ctr, channel, first, last, stride, step = dev->CIS.line_step;
SANE_Byte gotline;
if (dev->desc->mode == MODE_COLOR)
@@ -1534,14 +1534,12 @@ cis_get_next_line (Mustek_PP_CIS_dev * dev, SANE_Byte * buf)
first = MUSTEK_PP_CIS_CHANNEL_RED;
last = MUSTEK_PP_CIS_CHANNEL_BLUE;
stride = 3;
- ignore = 1; /* 1 * 3 channels */
}
else
{
first = MUSTEK_PP_CIS_CHANNEL_GRAY;
last = MUSTEK_PP_CIS_CHANNEL_GRAY;
stride = 1;
- ignore = 3; /* 3 * 1 channel */
}
gotline = SANE_FALSE;