Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!yale!Horne-Scott From: Horne-Scott@cs.yale.edu (Scott Horne) Newsgroups: comp.lang.c Subject: Re: lint won't verify printf formatting against variable types?? Keywords: lint, cc Message-ID: <65208@yale-celray.yale.UUCP> Date: 30 Jun 89 19:22:33 GMT References: <1778@aplcen.apl.jhu.edu> Sender: root@yale.UUCP Reply-To: Horne-Scott@cs.yale.edu (Scott Horne) Organization: Yale University Computer Science Dept, New Haven, CT 06520-2158 Lines: 21 In-reply-to: arrom@aplcen.apl.jhu.edu (Ken Arromdee) In article <1778@aplcen.apl.jhu.edu>, arrom@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(); else;'; obviously, that usage is intentional. --Scott Scott Horne Hacker-in-Chief, Yale CS Dept Facility horne@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?