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

Olaf Meeuwissen paddy-hack at member.fsf.org
Sun Aug 28 06:57:08 UTC 2016


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,
-- 
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join




More information about the sane-devel mailing list