Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.lang.c Subject: Re: Why use (void) func() ? Message-ID: <2275:Sep2420:18:0490@kramden.acf.nyu.edu> Date: 24 Sep 90 20:18:04 GMT References: <586@dptechno.UUCP> Organization: IR Lines: 7 I put in the (void) to remind myself later that I simply do not care about the return value of foo. When I leave something like printf() without a (void), I'm reminding myself that I may or may not want to check the return value. This gain in readability (using a convention that lint also supports) justifies taking advantage of the feature. ---Dan