login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
27
Re: [PATCH] CodingStyle: proscribe do-while without braces.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Krzysztof Halasa <khc@...>
To: Josh Triplett <josht@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, <linux-sparse@...>
Subject:
Re: [PATCH] CodingStyle: proscribe do-while without braces.
Date: Thursday, July 26, 2007 - 8:18 pm
Josh Triplett <josht@linux.vnet.ibm.com> writes:
quoted text
> +This also does not apply to a do-while loop; always use braces with a do-while, > +even if it contains a single statement:
I can't see anything wrong with do abc; while (xyz); and even if I could, "always use" seems way too strong in this case. -- Krzysztof Halasa -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] CodingStyle: proscribe do-while without braces.
, Josh Triplett
, (Thu Jul 26, 5:37 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Krzysztof Halasa
, (Thu Jul 26, 8:18 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Stefan Richter
, (Thu Jul 26, 8:42 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Randy Dunlap
, (Thu Jul 26, 9:17 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Andrew Morton
, (Thu Jul 26, 8:59 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Stefan Richter
, (Fri Jul 27, 3:41 am)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Andrew Morton
, (Fri Jul 27, 3:53 am)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Stefan Richter
, (Fri Jul 27, 1:13 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Andrew Morton
, (Thu Jul 26, 8:35 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Krzysztof Halasa
, (Fri Jul 27, 12:00 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Josh Triplett
, (Fri Jul 27, 1:05 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Andrew Morton
, (Fri Jul 27, 2:27 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Josh Triplett
, (Fri Jul 27, 2:52 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Krzysztof Halasa
, (Fri Jul 27, 1:44 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Andrew Morton
, (Thu Jul 26, 5:44 pm)
Re: [PATCH] CodingStyle: proscribe do-while without braces.
, Josh Triplett
, (Thu Jul 26, 5:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
hooanon05
[PATCH 67/67] merge aufs
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
monstr
[PATCH 33/52] [microblaze] bug headers files
Oliver Pinter
Re: x86: 4kstacks default
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
829 guests
online.
Online users
zeekec
Lukediygd
popupdisplaysn
francisyim08d
Syndicate