Date: Tue, 26 Jun 2001 23:40:14 -0400 (EDT) From: Mike Heffner <mheffner@novacoxmail.com> To: Warner Losh <imp@harmony.village.org> Cc: audit@freebsd.org Subject: Re: Config patch to stable. Message-ID: <XFMail.20010626234014.mheffner@novacoxmail.com> In-Reply-To: <200106262308.f5QN8gU11078@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format --_=XFMail.1.5.0.FreeBSD:20010626234014:518=_ Content-Type: text/plain; charset=us-ascii On 26-Jun-2001 Warner Losh 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. That doesn't appear to agree with style(9): Closing and opening braces go on the same line as the else. Braces that aren't necessary may be left out. if (test) stmt; else if (bar) { stmt; stmt; } else stmt; Mike -- Mike Heffner <mheffner@[acm.]vt.edu> Fredericksburg, VA <mikeh@FreeBSD.org> --_=XFMail.1.5.0.FreeBSD:20010626234014:518=_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7OVWdFokZQs3sv5kRAjJ/AKCRAL2JGmpWjS+yokSTpSsxDHdxLwCgos/T KN5mR0bMO2r9WowwRtxsx54= =9Mfx -----END PGP SIGNATURE----- --_=XFMail.1.5.0.FreeBSD:20010626234014:518=_-- End of MIME message 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?XFMail.20010626234014.mheffner>