From owner-freebsd-audit Tue Jun 26 16:24:55 2001 Delivered-To: freebsd-audit@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id EA33837B406 for ; Tue, 26 Jun 2001 16:24:51 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f5QNOeU11299; Tue, 26 Jun 2001 17:24:40 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200106262324.f5QNOeU11299@harmony.village.org> To: Peter Jeremy Subject: Re: Config patch to stable. Cc: audit@FreeBSD.ORG In-reply-to: Your message of "Wed, 27 Jun 2001 09:21:50 +1000." <20010627092150.Q95583@gsmx07.alcatel.com.au> References: <20010627092150.Q95583@gsmx07.alcatel.com.au> <200106262308.f5QN8gU11078@harmony.village.org> Date: Tue, 26 Jun 2001 17:24:40 -0600 From: Warner Losh Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010627092150.Q95583@gsmx07.alcatel.com.au> Peter Jeremy writes: : On 2001-Jun-26 17:08:42 -0600, Warner Losh wrote: : >In message 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