kopia lustrzana https://gitlab.com/sane-project/backends
artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
The variable was only used to silence a [-Wunused-parameter] warning.merge-requests/1/head
rodzic
5b21a24312
commit
ec1936713e
|
@ -3373,11 +3373,9 @@ close_pipe (Artec48U_Scanner * s)
|
||||||
return SANE_STATUS_EOF;
|
return SANE_STATUS_EOF;
|
||||||
}
|
}
|
||||||
static RETSIGTYPE
|
static RETSIGTYPE
|
||||||
sigalarm_handler (int signal)
|
sigalarm_handler (int __sane_unused__ signal)
|
||||||
{
|
{
|
||||||
int dummy; /*Henning doesn't like warnings :-) */
|
|
||||||
XDBG ((1, "ALARM!!!\n"));
|
XDBG ((1, "ALARM!!!\n"));
|
||||||
dummy = signal;
|
|
||||||
cancelRead = SANE_TRUE;
|
cancelRead = SANE_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue