kopia lustrzana https://gitlab.com/sane-project/backends
Don't compute parameters twice (in a row)
Removed a redundant call to compute parameters. This function is called from within the last function call, no need to call it again.merge-requests/1/head
rodzic
b45400222d
commit
64caf38683
|
@ -8140,7 +8140,6 @@ sane_start (SANE_Handle handle)
|
|||
if (status != SANE_STATUS_GOOD) {
|
||||
return status;
|
||||
}
|
||||
compute_parameters (s);
|
||||
|
||||
/* for non ADF scans (e.g. scanimage --batch-prompt on a Flatbed
|
||||
scanner) make sure we do not assume it's an ADF scan and
|
||||
|
|
Ładowanie…
Reference in New Issue