genesys: fix [-Wunused-function] compiler warning

merge-requests/37/head
Olaf Meeuwissen 2018-12-16 22:25:12 +09:00
rodzic d609de285b
commit 00d31e14f8
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1934,6 +1934,7 @@ gl847_end_scan (Genesys_Device * dev, Genesys_Register_Set * reg,
* @param dev device to rewind
* @returns SANE_STATUS_GOOD on success
*/
#if 0 /* disabled to fix #7 */
GENESYS_STATIC
SANE_Status gl847_rewind(Genesys_Device * dev)
{
@ -1965,6 +1966,7 @@ SANE_Status gl847_rewind(Genesys_Device * dev)
DBGCOMPLETED;
return SANE_STATUS_GOOD;
}
#endif
/** Park head
* Moves the slider to the home (top) position slowly