Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.lang.c Subject: Re: bitwise short-circuiting Message-ID: <8017@elsie.UUCP> Date: 22 Feb 88 18:59:16 GMT References: <4224@june.cs.washington.edu> <2303@umd5.umd.edu> <9130@ism780c.UUCP> Organization: NIH-LEC, Bethesda, MD Lines: 13 Summary: Don't panic 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@vax2.nlm.nih.gov ADO, VAX, and NIH are Ampex and DEC trademarks