summaryrefslogtreecommitdiff
path: root/backend/ma1509.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/ma1509.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
Diffstat (limited to 'backend/ma1509.c')
-rw-r--r--backend/ma1509.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/ma1509.c b/backend/ma1509.c
index 5fccd1c..e38ddc5 100644
--- a/backend/ma1509.c
+++ b/backend/ma1509.c
@@ -1738,7 +1738,6 @@ sane_start (SANE_Handle handle)
{
Ma1509_Scanner *s = handle;
SANE_Status status;
- SANE_String_Const mode;
struct timeval start;
if (!s)
@@ -1778,8 +1777,6 @@ sane_start (SANE_Handle handle)
/* save start time */
gettimeofday (&start, 0);
s->start_time = start.tv_sec;
- /* translate options into s->mode for convenient access: */
- mode = s->val[OPT_MODE].s;
status = set_window (s);
if (status != SANE_STATUS_GOOD)