lint won't verify printf formatting against variable types??

Scott Horne Horne-Scott at cs.yale.edu
Sat Jul 1 05:22:33 AEST 1989


In article <1778 at aplcen.apl.jhu.edu>, arrom at aplcen (Ken Arromdee) writes:
>
> if (f1(a)) /* do nothing */ ;
> else if (f2(a)) {
> 	/* some code */
> } else if (f3(a)) {
> 	/* some code */
> } else if (f4(a)) {
> 	/* some code */
> }

We weren't talking about `if(<condition>); else;'; obviously, that usage is
intentional.

					--Scott

Scott Horne                              Hacker-in-Chief, Yale CS Dept Facility
horne at cs.Yale.edu                         ...!{harvard,cmcl2,decvax}!yale!horne
Home: 203 789-0877     SnailMail:  Box 7196 Yale Station, New Haven, CT   06520
Work: 203 432-6428              Summer residence:  175 Dwight St, New Haven, CT
Dare I speak for the amorphous gallimaufry of intellectual thought called Yale?



More information about the Comp.lang.c mailing list