Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- tests/testutilsqemu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index be576037e2..72c0b1857b 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -585,12 +585,9 @@ testQemuGetLatestCaps(void) "s390x", "x86_64", }; - GHashTable *capslatest; + GHashTable *capslatest = virHashNew(g_free); size_t i; - if (!(capslatest = virHashNew(g_free))) - goto error; - VIR_TEST_VERBOSE(""); for (i = 0; i < G_N_ELEMENTS(archs); ++i) { -- 2.31.1