kopia lustrzana https://gitlab.com/sane-project/backends
magicolor: Fix [-Wmisleading-indentation] compiler warning
The assumption is that the failure should be returned to the caller.merge-requests/1/head
rodzic
0f90a5c2e3
commit
e04261673f
|
@ -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);*/
|
||||
|
|
Ładowanie…
Reference in New Issue