[PATCH] virt-aa-helper: Drop unused variable in verify_xpath_context()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux