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
Mike Kelly 2011-01-29 11:50:06 +09:00
rodzic b45400222d
commit 64caf38683
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -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