YALF (yet another lint foulup)

John Campbell jdc at naucse.UUCP
Thu Dec 15 01:27:30 AEST 1988


>From article <4700030 at m.cs.uiuc.edu>, by wsmith at m.cs.uiuc.edu:
: 
: Lint believes this simple program has both return(e); and just return;
: 
: function()
: {
: 	int flag;
: 	do{
: 		return(3);
: 	} while(flag);
: }
: 
: I suppose this should be added to the canonical collection of lint foulups.
: 
: Bill Smith
: wsmith at cs.uiuc.edu
: uiucdcs!wsmith

If I had a piece of code like that I'd surely want lint to tell me about it.
Perhaps another look and I'd change it :-) 

-- 
	John Campbell               ...!arizona!naucse!jdc
                                    CAMPBELL at NAUVAX.bitnet
	unix?  Sure send me a dozen, all different colors.



More information about the Comp.lang.c mailing list