summaryrefslogtreecommitdiff
path: root/backend/artec.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/artec.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
Diffstat (limited to 'backend/artec.c')
-rw-r--r--backend/artec.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/backend/artec.c b/backend/artec.c
index 46aa8b6..2d564a5 100644
--- a/backend/artec.c
+++ b/backend/artec.c
@@ -1711,7 +1711,6 @@ static SANE_Status
artec_get_cap_data (ARTEC_Device * dev, int fd)
{
int cap_model, loop;
- SANE_Status status;
u_char cap_buf[256]; /* buffer for cap data */
DBG (7, "artec_get_cap_data()\n");
@@ -1746,11 +1745,11 @@ artec_get_cap_data (ARTEC_Device * dev, int fd)
dev->height = cap_data[cap_model].height;
- status = artec_str_list_to_word_list (&dev->horz_resolution_list,
- cap_data[cap_model].horz_resolution_str);
+ artec_str_list_to_word_list (&dev->horz_resolution_list,
+ cap_data[cap_model].horz_resolution_str);
- status = artec_str_list_to_word_list (&dev->vert_resolution_list,
- cap_data[cap_model].vert_resolution_str);
+ artec_str_list_to_word_list (&dev->vert_resolution_list,
+ cap_data[cap_model].vert_resolution_str);
dev->contrast_range.min = 0;
dev->contrast_range.max = 255;