summaryrefslogtreecommitdiff
path: root/backend/kodak.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/kodak.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/kodak.c')
-rw-r--r--backend/kodak.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/backend/kodak.c b/backend/kodak.c
index 80a5700..73243db 100644
--- a/backend/kodak.c
+++ b/backend/kodak.c
@@ -1,5 +1,12 @@
/* sane - Scanner Access Now Easy.
+ This file is part of the SANE package, and implements a SANE backend
+ for various large Kodak scanners.
+
+ Copyright (C) 2008-2010 m. allan noah
+
+ --------------------------------------------------------------------------
+
This file is part of the SANE package.
This program is free software; you can redistribute it and/or
@@ -40,8 +47,6 @@
--------------------------------------------------------------------------
- This file implements a SANE backend for various large Kodak scanners.
-
The source code is divided in sections which you can easily find by
searching for the tag "@@".
@@ -2749,7 +2754,6 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
)
{
SANE_Status ret = SANE_STATUS_GOOD;
- size_t actLen = 0;
/*shut up compiler*/
runRS=runRS;
@@ -2766,7 +2770,6 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
}
if (inBuff && inLen){
DBG(25, "in: reading %d bytes\n", (int)*inLen);
- actLen = *inLen;
}
ret = sanei_scsi_cmd2(s->fd, cmdBuff, cmdLen, outBuff, outLen, inBuff, inLen);