kopia lustrzana https://gitlab.com/sane-project/backends
sm3600: fix [-Wunused-parameter] compiler warning
rodzic
99c14f2d95
commit
8809927390
|
@ -431,13 +431,11 @@ sane_exit (void)
|
|||
|
||||
SANE_Status
|
||||
sane_get_devices (const SANE_Device *** device_list,
|
||||
SANE_Bool local_only)
|
||||
SANE_Bool __sane_unused__ local_only)
|
||||
{
|
||||
TDevice *dev;
|
||||
int i;
|
||||
|
||||
local_only = TRUE; /* Avoid compile warning */
|
||||
|
||||
if (devlist) free (devlist);
|
||||
|
||||
devlist = malloc ((num_devices + 1) * sizeof (devlist[0]));
|
||||
|
|
Ładowanie…
Reference in New Issue