From nobody Sun Apr 28 18:43:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578412715; cv=none; d=zohomail.com; s=zohoarc; b=bSHO74x7cCA0DlCc3DlYH7lEfBJ1fhjOvrz+zf0Mi5SjBAcxd3Zh4mj9KFvI5fYMNBnb2J/ldNNzWswKTNj+cslDG5XPrdKQm6uvS4HNDFts2818B/ZEdgBlH5Q+T3mvG8QOXLTgtkvO4SIotfhdAc4/uQqxJFCd0PN8YeBfND4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578412715; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=874157yY/rBNj2yM/8XIcV06AqOJ/u4nl3z0aiohV4U=; b=SRA53XfOqCq+u+wMla1EaBO6wqv+7dtYeU36SwVniDDzOFZODrtx5T9cpKtzYDjRMvAemPuDfOmlN5L41jp3ph8CrB0x2V1WIcZu8xB+gpOfcmPHXWCto9CtvX11bZnKyMKpeMNjX2BQqXe7s38EFMJh6ydP6bx+rP+jXhueOeg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 157841271539052.95469850588347; Tue, 7 Jan 2020 07:58:35 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-378-TShmN2SMNC6B0d4p-s1Q4g-1; Tue, 07 Jan 2020 10:58:32 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 90247107ACC4; Tue, 7 Jan 2020 15:58:26 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E93925C1BB; Tue, 7 Jan 2020 15:58:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A63CA81C68; Tue, 7 Jan 2020 15:58:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 007FwJTp006737 for ; Tue, 7 Jan 2020 10:58:19 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3E5051001920; Tue, 7 Jan 2020 15:58:19 +0000 (UTC) Received: from moe.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id BB2ED10016EB for ; Tue, 7 Jan 2020 15:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578412714; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=874157yY/rBNj2yM/8XIcV06AqOJ/u4nl3z0aiohV4U=; b=Rkh+di/38Xto+y8e74+ktZ554AxnGmOmrNli6zN4SiN/P8h/AgWtwmBdFMMhm6YV4lV396 3gexU8Quh6dJx4YUhSQ7RUh8uYMxImRowUB8UECRDwZTJoJ4ZGOs1/0tHVZfYfEK0uBLfa FpCZ4v5/dmvjEI8ZR4egWQmIVKMmlS0= From: Michal Privoznik To: libvir-list@redhat.com Date: Tue, 7 Jan 2020 16:58:08 +0100 Message-Id: <40a65ab4a98da1ed03ed8d871571828af9c08b8d.1578412671.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] virt-aa-helper: Drop unused variable in verify_xpath_context() X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: TShmN2SMNC6B0d4p-s1Q4g-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" 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 --- 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 =3D -1; char *tmp =3D NULL; =20 if (!ctxt) { --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list