summaryrefslogtreecommitdiff
path: root/backend/artec.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/artec.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
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;