From nobody Sat Nov 23 17:57:05 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 172408492871794.67756917628594; Mon, 19 Aug 2024 09:28:48 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id A177E16AD; Mon, 19 Aug 2024 12:28:47 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 2F9381621; Mon, 19 Aug 2024 12:20:44 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 597E415C9; Mon, 19 Aug 2024 12:20:38 -0400 (EDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 51D8015EE for ; Mon, 19 Aug 2024 12:20:04 -0400 (EDT) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2f3e071eb64so14519821fa.1 for ; Mon, 19 Aug 2024 09:20:04 -0700 (PDT) Received: from localhost.localdomain ([37.186.51.21]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bebbde4964sm5738298a12.24.2024.08.19.09.20.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 09:20:02 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724084403; x=1724689203; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zUhLBWSDQrU5PtLoFGtCFfmUi3Ew+BkgaMOK2Pl4YU4=; b=jHdrDULFd4NcvkRHLiX35oydXvG2Rina0JKOKqFF6iwMEFTZ9ltx4ikU9MyK1ZOhho upGxCQX3KtzcZbcoggbbRfeekhZZygf4rzRAnblbK0I9V36+OZ7my5a26tKe4IxBOWjK UdrQOHf/1uwM1QZ+A2pd+UrcBt4O3Ew9+IxC1NctWiKO6Nt8cX49DYW+rLDFauLXNj0w es3im59EyDQAmoQmIZ+TeBuF7ZO5NM+J6dgGqw1k5cRI6slP7ltkaZp7shk4NZ3O5gP3 Ubo2TbsjZORC+Jm8hg5EhO3LJ9dd6Dodbc6GbKEjvIX+iDEXZg1UtH/rc+WEJSgRR07p KYTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724084403; x=1724689203; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zUhLBWSDQrU5PtLoFGtCFfmUi3Ew+BkgaMOK2Pl4YU4=; b=UHuDvOuFLFUUlpUlrJwf+mWemvtwkvjedI3xDgVPRm/ZGmbPZabLAq3TJG8lGI4vGd SzXzIem37h9XHq+PLtZrvuz4TQqHEkkiOdZY2XB5kd9rk3t/RADv0tF/eaFjDR+zpKgy Sc7aoPDv6AHGLt0/0OBYXxb5qV93ypRkaqji3YM0GHchp2tfsEocOqDCLPoBRXcTgFlN KJZJt8t10soGcqns/XfAtWkIODi9dM/vTXExXDl6pwLHV4ojl7DoqRtQq59689jzcLJM rfgW6ezly2XKjLmUfc6c4crB6NBwgiPi3XRwWRNi0ix603TNMzcJreALnsBBlOnmAo3f z5FQ== X-Gm-Message-State: AOJu0Ywc74d+kmyXeCho9uaWHSqMLwIrQMf973j54ed6iTed5DBoyQEc fXpPBeu4w/C4ERt7ro19Sjfk2x5qQgLL9mrvIRJ5iiF7ujoyzzUdonxaIg== X-Google-Smtp-Source: AGHT+IHM3qZbLuYgCHzZQcZapxrfe9zNlfdhbexLgZlw5eU5+tkc9gUoEJH7NUhXhBhdduelBp5FWA== X-Received: by 2002:a2e:742:0:b0:2ef:2677:7b74 with SMTP id 38308e7fff4ca-2f3be5f02eemr83974551fa.41.1724084402517; Mon, 19 Aug 2024 09:20:02 -0700 (PDT) From: Rayhan Faizel To: devel@lists.libvirt.org Subject: [PATCH 09/14] ch: Remove unused variables Date: Mon, 19 Aug 2024 21:39:47 +0530 Message-Id: <20240819160952.351383-10-rayhan.faizel@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819160952.351383-1-rayhan.faizel@gmail.com> References: <20240819160952.351383-1-rayhan.faizel@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: K3FCVHHZHKA6WAKLD75LSQHKIKJD6FPR X-Message-ID-Hash: K3FCVHHZHKA6WAKLD75LSQHKIKJD6FPR X-MailFrom: rayhan.faizel@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Rayhan Faizel X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1724084929266116600 Content-Type: text/plain; charset="utf-8" Unused variables in ch_process.c cause compilation errors so remove them. Signed-off-by: Rayhan Faizel --- src/ch/ch_process.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ch/ch_process.c b/src/ch/ch_process.c index 9816509e49..12da020c7b 100644 --- a/src/ch/ch_process.c +++ b/src/ch/ch_process.c @@ -656,7 +656,6 @@ chProcessAddNetworkDevices(virCHDriver *driver, for (i =3D 0; i < vmdef->nnets; i++) { g_autofree int *tapfds =3D NULL; g_autofree char *payload =3D NULL; - g_autofree char *response =3D NULL; size_t tapfd_len; size_t payload_len; int saved_errno; @@ -967,7 +966,6 @@ virCHProcessStartRestore(virCHDriver *driver, virDomain= Obj *vm, const char *from g_auto(virBuffer) buf =3D VIR_BUFFER_INITIALIZER; g_auto(virBuffer) http_headers =3D VIR_BUFFER_INITIALIZER; g_autofree char *payload =3D NULL; - g_autofree char *response =3D NULL; VIR_AUTOCLOSE mon_sockfd =3D -1; g_autofree int *tapfds =3D NULL; g_autofree int *nicindexes =3D NULL; --=20 2.34.1