[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 <mkletzan redhat com>
> ---
>  build-aux/bracket-spacing.pl | 27 ++++++++++-----------------
>  1 file changed, 10 insertions(+), 17 deletions(-)

ACK.  Should be safe to go in now.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]