mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
testQemuInfoSetArgs: Use curly braces in else section
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
f154e6ddd5
commit
564f46e3c5
@ -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",
|
||||
} else {
|
||||
capsfile = g_strdup_printf("%s/caps_%s.%s.xml",
|
||||
TEST_QEMU_CAPS_PATH, capsver, capsarch);
|
||||
}
|
||||
|
||||
if (!(qemuCaps = qemuTestParseCapabilitiesArch(info->arch, capsfile)))
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user