From nobody Fri May 3 18:15:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.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=1571736579; cv=none; d=zoho.com; s=zohoarc; b=VnUjaVczSC8LpZiW1dmsG/V5KwGYCSXpF5AfhKIW1sdlf1A0HdUDlqxXj+Tr5mutd9EnPTfQ+MPxXG/x+Uwc1+nta+TAO6mGhcHVoRQIzgCaGQ222rHtFiwFuQ7rQIepm02utY/U2RQBRn9LhjiphBvDTcY9p6gXvhFcHAIRPzM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571736579; 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=Lv5VhIffhrL+aSfjqsV3fSyguZ8A5sc4FRkdiWPTrSU=; b=Fwrz1eUoyaQJylvfmGkjkax4KKFGSlH4JvOWW//gE6/UpPTjlfysfgvPsk2wNsCUfK028I2NdWD4bJ7lW+K35C0UqXoOYlzBDFk2sKkH+HNapVeHVYTzCMPRwxtfRE2WBTkBo92nHA3wyGPcWK0FPgCjmHxAiYPSxqIB1CKIaiw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.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 [207.211.31.120]) by mx.zohomail.com with SMTPS id 1571736579812186.32697069180574; Tue, 22 Oct 2019 02:29:39 -0700 (PDT) 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-357-cXka8NxkNj-Yx9J72bQNCA-1; Tue, 22 Oct 2019 05:29:35 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 03781107AD33; Tue, 22 Oct 2019 09:29:30 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CDF405DD7A; Tue, 22 Oct 2019 09:29:29 +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 6A5E81803518; Tue, 22 Oct 2019 09:29:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9L9OWvj006469 for ; Mon, 21 Oct 2019 05:24:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 393D45C240; Mon, 21 Oct 2019 09:24:32 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.43.2.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4C005C219 for ; Mon, 21 Oct 2019 09:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571736577; 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=Lv5VhIffhrL+aSfjqsV3fSyguZ8A5sc4FRkdiWPTrSU=; b=JA5nx6SD6VG9zTponV2eN7UMiK9Va80N75/fg+YSF7/h0iGfxySVTJtHhe63B2tt4vgFwY 1OSlTv0vm596ua2DGi1B/7WZ2D8E3nAeVdT3LXx9We3nuog5wncrKWJdxJ74GilWDccaC/ wuY0r3Za9p4JCpXf1CIka4YVCF1s4K8= From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Date: Mon, 21 Oct 2019 11:25:19 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] vsh: mark ctl as unused in vshReadline 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.14 X-MC-Unique: cXka8NxkNj-Yx9J72bQNCA-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" My commit removed the last use in the version for platforms without readline. Fixes: c937c1d23db00cf0f33091f9d30f7ac33d9d6aa4 Signed-off-by: J=C3=A1n Tomko --- Fixed as a push builder break. tools/vsh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/vsh.c b/tools/vsh.c index a10a9625e4..07eea4adf9 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -3028,7 +3028,8 @@ vshReadlineDeinit(vshControl *ctl G_GNUC_UNUSED) } =20 char * -vshReadline(vshControl *ctl, const char *prompt) +vshReadline(vshControl *ctl G_GNUC_UNUSED, + const char *prompt) { char line[1024]; char *r; --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list