magicolor: Fix [-Wmisleading-indentation] compiler warning

The assumption is that the failure should be returned to the caller.
merge-requests/1/head
Olaf Meeuwissen 2017-06-26 17:57:14 +09:00
rodzic 0f90a5c2e3
commit e04261673f
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1288,9 +1288,10 @@ mc_scan_finish(Magicolor_Scanner * s)
status = cmd_finish_scan (s);
status = cmd_request_error(s);
if (status != SANE_STATUS_GOOD)
if (status != SANE_STATUS_GOOD) {
cmd_cancel_scan (s);
return status;
}
/* XXX required? */
/* TODO: cmd_reset(s);*/