summaryrefslogtreecommitdiff
path: root/backend/niash_core.c
diff options
context:
space:
mode:
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;
}