diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-24 21:03:56 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-24 21:03:56 +0200 |
commit | 58912f68c2489bcee787599837447e0d64dfd61a (patch) | |
tree | dda50aadde35fe152da1a8d50769987ace0f1496 /backend/artec.c | |
parent | cfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff) |
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/artec.c')
-rw-r--r-- | backend/artec.c | 9 |
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; |