qemusecuritytest: Drop unused variable

The @securityManager variable in testDomain() is unused. Drop it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Michal Privoznik 2019-04-18 21:01:29 +02:00
parent 8ffb5f2738
commit 1d34d2462e

View File

@ -100,7 +100,6 @@ static int
testDomain(const void *opaque)
{
const struct testData *data = opaque;
virSecurityManagerPtr securityManager = NULL;
virDomainObjPtr vm = NULL;
int ret = -1;
@ -124,7 +123,6 @@ testDomain(const void *opaque)
cleanup:
unsetenv(ENVVAR);
virObjectUnref(vm);
virObjectUnref(securityManager);
freePaths();
return ret;
}