Path: utzoo!attcan!uunet!crdgw1!underdog!volpe From: volpe@underdog.crd.ge.com (Christopher R Volpe) Newsgroups: comp.lang.c Subject: Re: Why use (void) func() ? Message-ID: <12141@crdgw1.crd.ge.com> Date: 25 Sep 90 15:58:54 GMT References: <586@dptechno.UUCP> <1990Sep24.193012.14074@diku.dk> Sender: news@crdgw1.crd.ge.com Reply-To: volpe@underdog.crd.ge.com (Christopher R Volpe) Lines: 12 I wouldn't mind it if lint warned about *my* functions that I declare with a return value which I *sometimes* ignore. That makes sense, because I rarely define functions whose return values I am interested in only sometimes. What I do mind is when lint warns me about return values from printf being ignored, which I, as well as most people, routinely ignore. Our dain-bramaged lint does the annoying thing in both circumstances: It fails to warn about ignored return values from *my* routines, and always warns about ignored return values from printf and scanf! ================== Chris Volpe G.E. Corporate R&D volpecr@crd.ge.com