]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virt-aa-helper: Drop unused variable in verify_xpath_context()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Jan 2020 15:55:50 +0000 (16:55 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Jan 2020 15:55:50 +0000 (16:55 +0100)
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@redhat.com>
src/security/virt-aa-helper.c

index e01ec12d09c518e4a75491cbf40283345a8c9b65..3ce58c8a6c4dae55a6c0005f9924937fb29d9aa6 100644 (file)
@@ -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) {