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

Tim Waugh twaugh@redhat.com
Wed, 23 Jan 2002 09:55:55 +0000


--YhFoJY/gx7awiIuK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I get these warnings when compiling sane-backends-1.0.7-beta1.  They
are for things like:

	bit = ++bit % 8;

which are indeed undefined.

Tim.
*/

microtek2.c:8054: warning: operation on `bit' may be undefined
mustek.c:4574: warning: operation on `ptr' may be undefined
mustek.c:4584: warning: operation on `ptr' may be undefined
mustek_usb.c:1294: warning: operation on `status' may be undefined
plustek-usbshading.c:1056: warning: operation on `wR' may be undefined
plustek-usbshading.c:1059: warning: operation on `wG' may be undefined
plustek-usbshading.c:1062: warning: operation on `wB' may be undefined
plustek-usbshading.c:1090: warning: operation on `wR' may be undefined
plustek-usbshading.c:1092: warning: operation on `wG' may be undefined
plustek-usbshading.c:1094: warning: operation on `wB' may be undefined
plustek-usbshading.c:1168: warning: operation on `wV' may be undefined
plustek-usbshading.c:1186: warning: operation on `wV' may be undefined

--YhFoJY/gx7awiIuK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8ToiqyaXy9qA00+cRAifSAJ9t7YiqfCCIqBDNRkQ05FHuWL6whQCghgPe
fTQAc0m1kjfLAVCy1ge5//s=
=322a
-----END PGP SIGNATURE-----

--YhFoJY/gx7awiIuK--