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

Eric Blake eblake at redhat.com
Fri Nov 14 00:01:43 UTC 2014


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141113/d324a6b8/attachment-0001.sig>


More information about the libvir-list mailing list