mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 16:15:19 +00:00
tests: Fix parentheses order in an assignment-comparison conditional
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1717090 Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
de563ebcf9
commit
08ad83eee1
@ -918,7 +918,7 @@ testQemuCapsIterate(const char *suffix,
|
|||||||
if (virDirOpen(&dir, TEST_QEMU_CAPS_PATH) < 0)
|
if (virDirOpen(&dir, TEST_QEMU_CAPS_PATH) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
while ((rc = virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH) > 0)) {
|
while ((rc = virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH)) > 0) {
|
||||||
char *tmp = ent->d_name;
|
char *tmp = ent->d_name;
|
||||||
char *base = NULL;
|
char *base = NULL;
|
||||||
char *archName = NULL;
|
char *archName = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user