From: Michal Privoznik Date: Thu, 25 Apr 2013 11:50:31 +0000 (+0200) Subject: qemu_command.c: Fix whitespacing within for() X-Git-Tag: v1.0.5-rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d5a972104a8e57d0401336fe04558701c3e8a5;p=thirdparty%2Flibvirt.git qemu_command.c: Fix whitespacing within for() After 9d6e56db the syntax-check was unhappy due to wrong whitespacing: src/qemu/qemu_command.c:1637: for ( ; a.slot < QEMU_PCI_ADDRESS_SLOT_LAST; a.slot++) { maint.mk: incorrect whitespace around brackets, see HACKING for rules make: *** [bracket-spacing-check] Error 1 --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 50281bea5d..1c48cbb940 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1634,7 +1634,7 @@ qemuDomainPCIAddressGetNextSlot(qemuDomainPCIAddressSetPtr addrs, /* Start the search at the last used bus and slot */ for (a.slot++; a.bus < addrs->nbuses; a.bus++) { - for ( ; a.slot < QEMU_PCI_ADDRESS_SLOT_LAST; a.slot++) { + for (; a.slot < QEMU_PCI_ADDRESS_SLOT_LAST; a.slot++) { if (!qemuDomainPCIAddressSlotInUse(addrs, &a)) goto success;