[sane-devel] [umax_pp] Fix unused-but-set-parameter compiler warning

Stef stef.dev at free.fr
Tue Aug 30 19:23:11 UTC 2016


On 28/08/2016 08:57, Olaf Meeuwissen wrote:
> Hi Stef,
>
> The umax_pp_low.c file's offsetCalibration1220p() defines and optionally
> modifies the opsc10 variable but that variable isn't used anywhere else.
> Is there any particular reason to do so?  Like, maybe, it should have
> been used in that function for something?  If not, I'll go ahead and
> remove it.
>
> Hope this helps,

Hello,

it is used via the macro `CMDSETGET (1, 0x08, opsc10);` line 12624.

the backend needs it.


Regards,

     Stef




More information about the sane-devel mailing list