From nobody Sun Feb 8 23:42:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1611667664; cv=none; d=zohomail.com; s=zohoarc; b=WLNx84Bx2It19caX/beOP64y+XAgbElhTrDKXZedQf4rwZ7XAG0J468PbwaoZb/4kJeg6Ic/Vexq3DfZI/17os7nRGRbIDJpPCGmAMa8AahtD3Z2T0gvdcrXWlGpXtLHFBqrgD6yIWol4Px2Ql0Ap9ttxcw/L9dNAQoZQmydUko= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611667664; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FGRKP+VAHJh9Q9q648MuZzZuG5RtZ8zUml4TZmTodHA=; b=MkFEfhe5IurbVA8Yo3FH4R1Lp3ziy0mnAfO73y/uOEX9RPqv4G9dZQ2etRJZS8UNgEJgs7pomGmkCyH2I24YmurUYj07owAJuDiKtoyUKtOsk3te7VjevVptiP+aWcADnltk1D5HucrAIYgrNNgM2yOZVJPeimSiItfqu61c5X4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611667664546909.4339983228847; Tue, 26 Jan 2021 05:27:44 -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-501-4gMGLmuZPhWuAdfrg9Ffqg-1; Tue, 26 Jan 2021 08:27:40 -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 BBA73802B42; Tue, 26 Jan 2021 13:27:34 +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 97D0E5C26D; Tue, 26 Jan 2021 13:27:34 +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 806B04BB7B; Tue, 26 Jan 2021 13:27:33 +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 10QDRKPS001328 for ; Tue, 26 Jan 2021 08:27:20 -0500 Received: by smtp.corp.redhat.com (Postfix) id 8F4A91880F; Tue, 26 Jan 2021 13:27:20 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.193.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id A11455C276 for ; Tue, 26 Jan 2021 13:27:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611667663; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=FGRKP+VAHJh9Q9q648MuZzZuG5RtZ8zUml4TZmTodHA=; b=Iv1MX53UfYGqJ2FeKYtWsaXHXzPzhDVCpJRusPMgha73MPELtK4xDlWMgiuTjiPgHxFjUr BVnLSCDlJhEzptaMtBavBcbpCVA41xxy0z6P7JWPokW50GrkaMCSYlq/7S/c9ensQ6ixCa HNrSFBFwV8WUsFPWBXRf1ToKA7HsYHQ= X-MC-Unique: 4gMGLmuZPhWuAdfrg9Ffqg-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/9] vshCommandStringGetArg: Drop @sz Date: Tue, 26 Jan 2021 14:27:05 +0100 Message-Id: <110bc230982f0c0638e55888a55ae3a2aff62d55.1611667532.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" This variable is unused since introduction of the function in v0.8.5~150. Signed-off-by: Michal Privoznik --- tools/vsh.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/vsh.c b/tools/vsh.c index badd37c08e..54253afa72 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -1608,7 +1608,6 @@ vshCommandStringGetArg(vshControl *ctl, vshCommandPar= ser *parser, char **res, { bool single_quote =3D false; bool double_quote =3D false; - int sz =3D 0; char *p =3D parser->pos; char *q =3D g_strdup(p); =20 @@ -1662,7 +1661,6 @@ vshCommandStringGetArg(vshControl *ctl, vshCommandPar= ser *parser, char **res, } =20 *q++ =3D *p++; - sz++; } if (double_quote) { if (report) --=20 2.26.2