]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bracket-spacing: Remove pointless cycles
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 13 Nov 2014 14:09:35 +0000 (15:09 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 14 Nov 2014 16:13:36 +0000 (17:13 +0100)
commit5e1af759cfa79bcfabbe43c24ec0b5c26eb3ddc1
tree1656f4319829ba67a29d670ee5818e2612504b62
parentd697de90c02b16a017666dbefcf46f4390601920
bracket-spacing: Remove pointless cycles

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