提交 1d34d246 编写于 作者: M Michal Privoznik

qemusecuritytest: Drop unused variable

The @securityManager variable in testDomain() is unused. Drop it.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 8ffb5f27
...@@ -100,7 +100,6 @@ static int ...@@ -100,7 +100,6 @@ static int
testDomain(const void *opaque) testDomain(const void *opaque)
{ {
const struct testData *data = opaque; const struct testData *data = opaque;
virSecurityManagerPtr securityManager = NULL;
virDomainObjPtr vm = NULL; virDomainObjPtr vm = NULL;
int ret = -1; int ret = -1;
...@@ -124,7 +123,6 @@ testDomain(const void *opaque) ...@@ -124,7 +123,6 @@ testDomain(const void *opaque)
cleanup: cleanup:
unsetenv(ENVVAR); unsetenv(ENVVAR);
virObjectUnref(vm); virObjectUnref(vm);
virObjectUnref(securityManager);
freePaths(); freePaths();
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册