Unnecessary parenthesis

Jeffrey E. F. Friedl jeff at unh.UUCP
Mon Jul 4 13:11:53 AEST 1988


In article <8209 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn ) writes:
> []
> 	return 0;		/* intuitive */
> 
> 	return(0);	/* one wonders why the () are there */

Most likely because _every_ 'return' in K&R-I has those superfluous parens.
K&R-II has been "fixed" (I like 'return(e)' beter), but 10 years too late.

	*jeff*
-------------------------------------------------------------------------------
Jeffrey Eric Francis Friedl, Box 2146 Babcock House, Durham New Hampshire 03824
..!{uunet,decvax}!unh!jeff   BITNET%"j_friedl at unhh"  ..!ucbvax!kentvax!jfriedl



More information about the Comp.lang.c mailing list