Re: [Qemu-devel] [PATCH trivial 1/3] vl: remove useless 'continue'

2014-04-15 Thread liang ding
我怎样才能退订此邮件列表 How can I unsubscribe from this mailing list 2014-04-15 19:05 GMT+08:00 Chen Gang : > > > On 04/15/2014 04:50 PM, Markus Armbruster wrote: > > Chen Gang writes: > > > >> Normal "if (...) {...} else {...}" is enough in "while(...) {...}", not > >> need additional useless 'continue'.

Re: [Qemu-devel] [PATCH trivial 1/3] vl: remove useless 'continue'

2014-04-15 Thread Chen Gang
On 04/15/2014 04:50 PM, Markus Armbruster wrote: > Chen Gang writes: > >> Normal "if (...) {...} else {...}" is enough in "while(...) {...}", not >> need additional useless 'continue'. >> >> Signed-off-by: Chen Gang >> --- >> vl.c |1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/

Re: [Qemu-devel] [PATCH trivial 1/3] vl: remove useless 'continue'

2014-04-15 Thread Markus Armbruster
Chen Gang writes: > Normal "if (...) {...} else {...}" is enough in "while(...) {...}", not > need additional useless 'continue'. > > Signed-off-by: Chen Gang > --- > vl.c |1 - > 1 file changed, 1 deletion(-) > > diff --git a/vl.c b/vl.c > index 9975e5a..7505002 100644 > --- a/vl.c > +++ b

Re: [Qemu-devel] [PATCH trivial 1/3] vl: remove useless 'continue'

2014-04-14 Thread Chen Gang
On 04/15/2014 10:11 AM, Peter Crosthwaite wrote: > On Tue, Apr 8, 2014 at 10:01 PM, Chen Gang wrote: >> > Normal "if (...) {...} else {...}" is enough in "while(...) {...}", not >> > need additional useless 'continue'. >> > > Only in the case where the if-else is not followed by any code. Which >

Re: [Qemu-devel] [PATCH trivial 1/3] vl: remove useless 'continue'

2014-04-14 Thread Peter Crosthwaite
On Tue, Apr 8, 2014 at 10:01 PM, Chen Gang wrote: > Normal "if (...) {...} else {...}" is enough in "while(...) {...}", not > need additional useless 'continue'. > Only in the case where the if-else is not followed by any code. Which is the case here. I found this sentance slightly confusing and

[Qemu-devel] [PATCH trivial 1/3] vl: remove useless 'continue'

2014-04-08 Thread Chen Gang
Normal "if (...) {...} else {...}" is enough in "while(...) {...}", not need additional useless 'continue'. Signed-off-by: Chen Gang --- vl.c |1 - 1 file changed, 1 deletion(-) diff --git a/vl.c b/vl.c index 9975e5a..7505002 100644 --- a/vl.c +++ b/vl.c @@ -3034,7 +3034,6 @@ int main(int a