bitwise short-circuiting

Arthur David Olson ado at elsie.UUCP
Tue Feb 23 04:59:16 AEST 1988


We let lint worry about such stuff here at elsie:

	Script started on Mon Feb 22 13:57:52 1988
	$ cat try.c
	main() { return 0 & func(); }
	func() { return 1; }
	$ lint -h try.c
	try.c:
	try.c(1): warning: superfluous operation on zero
	...

-- 
ado at vax2.nlm.nih.gov		ADO, VAX, and NIH are Ampex and DEC trademarks



More information about the Comp.lang.c mailing list