Add braces around the multi-line body as well, in compliance
with our coding style.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
Pushed as trivial.
src/qemu/qemu_command.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index f7925c93a..6c73cd7bf 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -2743,9 +2743,10 @@ qemuBuildControllerDevStr(const virDomainDef *domainDef,
virBufferAsprintf(&buf, "%s,bus_nr=%d,id=%s",
modelName, pciopts->busNr,
def->info.alias);
- if (pciopts->numaNode != -1)
- virBufferAsprintf(&buf, ",numa_node=%d",
- pciopts->numaNode);
+ if (pciopts->numaNode != -1) {
+ virBufferAsprintf(&buf, ",numa_node=%d",
+ pciopts->numaNode);
+ }
break;
case VIR_DOMAIN_CONTROLLER_MODEL_DMI_TO_PCI_BRIDGE:
case VIR_DOMAIN_CONTROLLER_MODEL_PCIE_SWITCH_UPSTREAM_PORT:
--
2.14.3
Show replies by date