summaryrefslogtreecommitdiff
path: root/backend/kodak.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/kodak.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
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);