niash: fix [-Wunused-parameter] compiler warning

The attribute needs to go before the pointer designation for it to have
any effect.
merge-requests/1/head
Olaf Meeuwissen 2016-07-18 16:14:20 +09:00
rodzic 61719e0a13
commit b73a6e5017
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1491,7 +1491,7 @@ sane_set_io_mode (SANE_Handle __sane_unused__ h, SANE_Bool m)
SANE_Status
sane_get_select_fd (SANE_Handle __sane_unused__ h, SANE_Int * __sane_unused__ fd)
sane_get_select_fd (SANE_Handle __sane_unused__ h, SANE_Int __sane_unused__ * fd)
{
DBG (DBG_MSG, "sane_select_fd\n");
return SANE_STATUS_UNSUPPORTED;