[libvirt] [PATCH] virt-aa-helper: Drop unused variable in verify_xpath_context()
Michal Privoznik
mprivozn at redhat.com
Tue Jan 7 15:58:08 UTC 2020
After one of previous commits (v5.10.0-524-gce56408e5f) there is
a variable left unused in verify_xpath_context() which breaks the
build.
Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
Pushed under trivial and build breaker rules.
src/security/virt-aa-helper.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index e01ec12d09..3ce58c8a6c 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -541,7 +541,6 @@ valid_path(const char *path, const bool readonly)
static int
verify_xpath_context(xmlXPathContextPtr ctxt)
{
- int rc = -1;
char *tmp = NULL;
if (!ctxt) {
--
2.24.1
More information about the libvir-list
mailing list