YALF (yet another lint foulup)

Henry Spencer henry at utzoo.uucp
Sat Dec 17 03:32:31 AEST 1988


In article <717 at auspex.UUCP> guy at 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 at zoo.toronto.edu



More information about the Comp.lang.c mailing list