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

2016-08-28 Thread Olaf Meeuwissen
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

[sane-devel] [pieusb] Fix unused-parameter compiler warnings

2016-08-28 Thread Olaf Meeuwissen
Hi Klaus, The following functions in pieusb_scancmd.c trigger a pile of unused parameter warnings: sanei_pieusb_cmd_get_exposure_time sanei_pieusb_cmd_get_halftone_pattern sanei_pieusb_cmd_get_highlight_shadow sanei_pieusb_cmd_set_ccd_mask sanei_pieusb_cmd_set_halftone_pattern Upon