]> xenbits.xensource.com Git - libvirt.git/commit
Miscellaneous for-loop syntax clean-ups
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 22 Feb 2016 10:04:38 +0000 (11:04 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 22 Feb 2016 10:29:59 +0000 (11:29 +0100)
commit457ff97fa2ed269bccf1a53e9664dfd84bb7f439
treefbdc5895fde2362f3f41f637063797f24e535499
parentfc922eb2080a3fa7b24bc8a8b0aabfd394480143
Miscellaneous for-loop syntax clean-ups

Checking whether x > 0 before looping over [0..x] items doesn't make
sense and multi-line body must have curly brackets around it.

Best viewed with '-w'.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/domain_conf.c
src/qemu/qemu_capabilities.c
src/storage/storage_backend_rbd.c
src/vbox/vbox_common.c