summaryrefslogtreecommitdiff
path: root/backend/niash_core.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/niash_core.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/niash_core.c')
-rw-r--r--backend/niash_core.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/backend/niash_core.c b/backend/niash_core.c
index e3ae2b8..b87f4f6 100644
--- a/backend/niash_core.c
+++ b/backend/niash_core.c
@@ -645,9 +645,6 @@ InitScan (TScanParams * pParams, THWParams * pHWParams)
int iHeight;
int iExpTime;
TScanParams Params;
- int iHandle;
-
- iHandle = pHWParams->iXferHandle;
/* check validity of scanparameters */
switch (pParams->iDpi)
@@ -1228,7 +1225,7 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
SANE_Bool iReversedHead;
int startWhiteY, endWhiteY;
int startBlackY, endBlackY;
- int startBlackX, endBlackX;
+ int endBlackX;
iHandle = pHWPar->iXferHandle;
iReversedHead = pHWPar->iReversedHead;
@@ -1265,7 +1262,6 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
endWhiteY = 15;
startBlackY = 16;
endBlackY = 135;
- startBlackX = 0;
endBlackX = HW_PIXELS;
}
else
@@ -1274,7 +1270,6 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
endWhiteY = 70;
startBlackY = 86;
endBlackY = 135;
- startBlackX = 1666;
endBlackX = 3374;
}