Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!gwyn@Brl-Vld.ARPA From: gwyn@Brl-Vld.ARPA (VLD/VMB) Newsgroups: net.lang.c Subject: Re: C question Message-ID: <9911@brl-tgr.ARPA> Date: Fri, 12-Apr-85 01:08:04 EST Article-I.D.: brl-tgr.9911 Posted: Fri Apr 12 01:08:04 1985 Date-Received: Sun, 14-Apr-85 06:46:39 EST Sender: news@brl-tgr.ARPA Lines: 11 At least for i == j; lint issues a "null effect" message, since this is a meaningless thing for the programmer to be doing. Unfortunately if ( i = j ) is a menaingful construct that is actually widely used. I personally would have written if ( (i = j) != 0 ) but not everyone is careful to avoid the shortcuts built into C. A "boolean" data type would have been very useful for detecting such errors but C hasn't any, alas.