[sane-devel] C undefined operations in sane-backends-1.0.7-beta1

Tim Waugh twaugh at redhat.com
Thu Jan 24 09:10:49 GMT 2002


On Thu, Jan 24, 2002 at 08:12:53AM +0100, Karsten Festag wrote:

> in the two lines
>  bit = ++bit;

This will give the same warning of course!

>  bit %= 8;

Why not just use bit = (bit + 1) % 8, which appears to be the intent?

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020124/60ae06e4/attachment.sig>


More information about the sane-devel mailing list