summaryrefslogtreecommitdiff
path: root/backend/artec.c
diff options
context:
space:
mode:
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;