summaryrefslogtreecommitdiff
path: root/backend/lexmark_low.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/lexmark_low.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/lexmark_low.c')
-rw-r--r--backend/lexmark_low.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/lexmark_low.c b/backend/lexmark_low.c
index 821b621..fe20e89 100644
--- a/backend/lexmark_low.c
+++ b/backend/lexmark_low.c
@@ -2369,6 +2369,9 @@ low_get_start_loc (SANE_Int resolution, SANE_Int * vert_start,
return SANE_STATUS_INVAL;
}
break;
+ default:
+ /* If we're here we have an unknown dev->model.sensor_type */
+ return SANE_STATUS_INVAL;
}
/* Calculate vertical start distance at 600dpi */
switch (resolution)