From: Andrea Bolognani Date: Thu, 2 Mar 2023 19:38:24 +0000 (+0100) Subject: tests: Drop unnecessary configuration overrides X-Git-Tag: v9.2.0-rc1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=743f26c34a8a35f3d62c761f8b0dc3deee715739;p=thirdparty%2Flibvirt.git tests: Drop unnecessary configuration overrides They are not used by the specific test. Signed-off-by: Andrea Bolognani Reviewed-by: Martin Kletzander --- diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c index 2e8ac05e5e..6e3d4dd807 100644 --- a/tests/qemuhotplugtest.c +++ b/tests/qemuhotplugtest.c @@ -673,11 +673,6 @@ mymain(void) virEventRegisterDefaultImpl(); - VIR_FREE(driver.config->spiceListen); - VIR_FREE(driver.config->vncListen); - /* some dummy values from 'config file' */ - driver.config->spicePassword = g_strdup("123456"); - if (!(driver.domainEventState = virObjectEventStateNew())) return EXIT_FAILURE;