On Sun, Apr 30, 2006 at 09:18:05PM +0100, Nick Guenther wrote:
> I was wondering this myself last week, but I remembered that someone
> once said "check all the examples before deciding style(9) is silent
> on an issue" and so I did. The examples all use `return (expr);`.

Have a look at usr.bin/ftp/ftp.c; it contains at least one `return
0;', which should then be `return (0);', which in turn is plain
ugly (at least for me), but, OTH, is used in all other return
statements of non-void functions.

> [...] I wonder what the official word is?

"No redundant brackets in return statements", I hope ;-)

Ciao,
        Kili

Reply via email to