[sane-devel] [epson2] Fixing unused-but-set-variable compiler warning

Olaf Meeuwissen paddy-hack at member.fsf.org
Mon Sep 19 03:46:55 UTC 2016

On 2016-08-28, Olaf Meeuwissen wrote:

> Hi Alessandro,
> I'm making a last push to fix all compiler warnings for debian-8-full
> builds[1].  The epson2 backend triggers an "unused-but-set-variable"
> warning for the needStrangeReorder variable in the e2_block_read
> function in epson2-ops.c.
> [snip]
> What do you think is the best approach?
>  - simply remove needStrangeReorder

Did that in 6f4b88b and pushed it just now.

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