From: Michal Privoznik Date: Tue, 7 Jan 2020 15:55:50 +0000 (+0100) Subject: virt-aa-helper: Drop unused variable in verify_xpath_context() X-Git-Tag: v6.0.0-rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40a65ab4a98da1ed03ed8d871571828af9c08b8d;p=thirdparty%2Flibvirt.git virt-aa-helper: Drop unused variable in verify_xpath_context() 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 --- 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) {