Date: Tue, 26 Jun 2001 17:24:40 -0600 From: Warner Losh <imp@harmony.village.org> To: Peter Jeremy <peter.jeremy@alcatel.com.au> Cc: audit@FreeBSD.ORG Subject: Re: Config patch to stable. Message-ID: <200106262324.f5QNOeU11299@harmony.village.org> In-Reply-To: Your message of "Wed, 27 Jun 2001 09:21:50 %2B1000." <20010627092150.Q95583@gsmx07.alcatel.com.au> References: <20010627092150.Q95583@gsmx07.alcatel.com.au> <XFMail.20010626225642.mheffner@novacoxmail.com> <200106262308.f5QN8gU11078@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010627092150.Q95583@gsmx07.alcatel.com.au> Peter Jeremy writes: : On 2001-Jun-26 17:08:42 -0600, Warner Losh <imp@harmony.village.org> wrote: : >In message <XFMail.20010626225642.mheffner@novacoxmail.com> Mike Heffner writes: : >: Looks good. Why did you add braces to the single statement `else'? : > : >Because if you have braces on one part of an if statement, you need : >them on both parts. : : Not according to style(9): : if (test) : stmt; : else if (bar) { : stmt; : stmt; : } else : stmt; I could have *SWORN* that was in style(9). It is allowed however "Braces that aren't necessary may be left out." :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106262324.f5QNOeU11299>