From: Peter Krempa Date: Fri, 19 Feb 2021 15:31:42 +0000 (+0100) Subject: testQemuInfoSetArgs: Use curly braces in else section X-Git-Tag: v7.1.0-rc1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=564f46e3c5c4b4f0395e4c8f5af4c594c5c6bf75;p=thirdparty%2Flibvirt.git testQemuInfoSetArgs: Use curly braces in else section Signed-off-by: Peter Krempa Reviewed-by: Jonathon Jongsma --- diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index c2cf3be9ac..a96c9d487a 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -779,8 +779,10 @@ testQemuInfoSetArgs(struct testQemuInfo *info, if (STREQ(capsver, "latest")) { capsfile = g_strdup(virHashLookup(capslatest, capsarch)); stripmachinealiases = true; - } else capsfile = g_strdup_printf("%s/caps_%s.%s.xml", - TEST_QEMU_CAPS_PATH, capsver, capsarch); + } else { + capsfile = g_strdup_printf("%s/caps_%s.%s.xml", + TEST_QEMU_CAPS_PATH, capsver, capsarch); + } if (!(qemuCaps = qemuTestParseCapabilitiesArch(info->arch, capsfile))) goto cleanup;