On Thu, 2014-08-21 at 10:51 -0500, Robert Jennings wrote:
> On 08/20/2014 11:41 PM, Michael Ellerman wrote:
> > On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
> >> Continue is not needed at the bottom of a loop.
> >
> > True.
> >
> > I wonder though, is the code trying to continue to
On Thu, 2014-08-21 at 10:51 -0500, Robert Jennings wrote:
On 08/20/2014 11:41 PM, Michael Ellerman wrote:
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
Continue is not needed at the bottom of a loop.
True.
I wonder though, is the code trying to continue to the outer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 08/20/2014 11:41 PM, Michael Ellerman wrote:
> On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
>> Continue is not needed at the bottom of a loop.
>
> True.
>
> I wonder though, is the code trying to continue to the outer loop?
> I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 08/20/2014 11:41 PM, Michael Ellerman wrote:
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
Continue is not needed at the bottom of a loop.
True.
I wonder though, is the code trying to continue to the outer loop?
I stared at
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
> Continue is not needed at the bottom of a loop.
True.
I wonder though, is the code trying to continue to the outer loop? I stared at
it for a minute but it wasn't obvious.
I wonder if Robert still remembers?
cheers
> diff --git
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
Continue is not needed at the bottom of a loop.
True.
I wonder though, is the code trying to continue to the outer loop? I stared at
it for a minute but it wasn't obvious.
I wonder if Robert still remembers?
cheers
diff --git
Continue is not needed at the bottom of a loop.
The Coccinelle semantic patch implementing this change is:
@@
@@
for (...;...;...) {
...
if (...) {
...
- continue;
}
}
Signed-off-by: Himangi Saraogi
Acked-by: Julia Lawall
---
Not compile tested.
Continue is not needed at the bottom of a loop.
The Coccinelle semantic patch implementing this change is:
@@
@@
for (...;...;...) {
...
if (...) {
...
- continue;
}
}
Signed-off-by: Himangi Saraogi himangi...@gmail.com
Acked-by: Julia Lawall julia.law...@lip6.fr
---
Not compile
8 matches
Mail list logo