diff options
Diffstat (limited to 'backend/lexmark_low.c')
-rw-r--r-- | backend/lexmark_low.c | 3 |
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) |