diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-15 11:29:05 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-15 11:29:05 +0200 |
commit | 324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch) | |
tree | bd2d48a139bfbe869f4f49359b63097931a45e7b /backend/dmc.c | |
parent | 2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff) | |
parent | 1edb02101a9306fc711cd422ed507d18165b1691 (diff) |
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
Diffstat (limited to 'backend/dmc.c')
-rw-r--r-- | backend/dmc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/dmc.c b/backend/dmc.c index 7fc2ae9..c5c57c4 100644 --- a/backend/dmc.c +++ b/backend/dmc.c @@ -1030,7 +1030,6 @@ sane_control_option(SANE_Handle handle, SANE_Int option, { DMC_Camera *c; SANE_Word cap; - SANE_Status status; int i; if (info) *info = 0; @@ -1069,7 +1068,7 @@ sane_control_option(SANE_Handle handle, SANE_Int option, case OPT_IMAGE_MODE: for (i=0; i<NUM_IMAGE_MODES; i++) { if (!strcmp(val, ValidModes[i])) { - status = DMCSetMode(c, i); + DMCSetMode(c, i); c->val[OPT_IMAGE_MODE].s = (SANE_String) ValidModes[i]; if (info) *info |= SANE_INFO_RELOAD_PARAMS | SANE_INFO_RELOAD_OPTIONS; return SANE_STATUS_GOOD; |