Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: YALF (yet another lint foulup)
Message-ID: <1988Dec16.173231.1367@utzoo.uucp>
Organization: U of Toronto Zoology
References: <4700030@m.cs.uiuc.edu> <717@auspex.UUCP>
Date: Fri, 16 Dec 88 17:32:31 GMT

In article <717@auspex.UUCP> guy@auspex.UUCP (Guy Harris) writes:
>just stick
>
>	/*NOTREACHED*/
>
>after the loop in question to convince "lint" that the loop really
>doesn't terminate.

And as a not-so-minor bonus, in a non-trivial program with a non-trivial
loop cluttered with other code, this also makes it rather more obvious
to *humans* that the loop is not supposed to terminate.
-- 
"God willing, we will return." |     Henry Spencer at U of Toronto Zoology
-Eugene Cernan, the Moon, 1972 | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
