From: Michal Privoznik Date: Mon, 4 Dec 2023 08:50:17 +0000 (+0100) Subject: test_driver: Remove unused variable in testDomainAttachDeviceLiveAndConfig() X-Git-Tag: v10.0.0-rc1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cca4b0463d4f6055048433fbae566de9a19b5240;p=thirdparty%2Flibvirt.git test_driver: Remove unused variable in testDomainAttachDeviceLiveAndConfig() The hotplug functionality added earlier really supports only live addition of devices, no coldplug yet rendering @devConf in testDomainAttachDeviceLiveAndConfig() an unused variable. Remove it. Signed-off-by: Michal Privoznik --- diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 47ca25c8cb..67f8e75296 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -10125,7 +10125,6 @@ testDomainAttachDeviceLiveAndConfig(virDomainObj *vm, const char *xml, unsigned int flags) { - g_autoptr(virDomainDeviceDef) devConf = NULL; g_autoptr(virDomainDeviceDef) devLive = NULL; unsigned int parse_flags = VIR_DOMAIN_DEF_PARSE_INACTIVE | VIR_DOMAIN_DEF_PARSE_ABI_UPDATE;