Re: [libvirt] [PATCH v2 21/22] bracket-spacing: Remove pointless cycles

2014-11-13 Thread Eric Blake
On 11/13/2014 07:37 AM, Martin Kletzander wrote: > Change while () { smth; last; } to if () { smth; } as 'last' in perl is > analogous to 'break' in C. These are probably copy-paste leftovers from > creating new syntax-check rules. > > Signed-off-by: Martin Kletzander > --- > build-aux/bracket-

[libvirt] [PATCH v2 21/22] bracket-spacing: Remove pointless cycles

2014-11-13 Thread Martin Kletzander
Change while () { smth; last; } to if () { smth; } as 'last' in perl is analogous to 'break' in C. These are probably copy-paste leftovers from creating new syntax-check rules. Signed-off-by: Martin Kletzander --- build-aux/bracket-spacing.pl | 27 ++- 1 file changed, 10