From nobody Sat May 4 03:01:34 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=1599469618; cv=none; d=zohomail.com; s=zohoarc; b=GLmuT2EeuXfGiOpNPnb7M7K/l4RSEsTUGjbMJCKHaAkDlcaLCH+ofeT6cM+gRYQERfVHvsWnNTb9gHOYjKwyuyghL8qDBIZTqBHziSpbNyHCDgwXAzCZr04hZm8KHESl0tt0gz2vr/onOK2WZp2affJ3rfQISfZVfJNYlP/tK/4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599469618; 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=gmNedbA2UNZ2Pj7HohfKSO7ITlBNuemUZAAi0B6gkUc=; b=GwtiTPJDc9ZULPgZY5QQGur9ozeihG4WlpUbqguZody9tNsbcai1TwXKrpbMxp1XAibcuiAfsIuEj4rkaaVYn9287bplK/6OqCYWGKGXqEtgjx2WtdIIbNiCXSVTTnB1vNyNfZFkOChv5QcAgtLkIk9m1K/jSMHyQ9ZV7t/fNe8= 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 159946961813376.68427664858314; Mon, 7 Sep 2020 02:06:58 -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-204-4PBKtPCIM1eoKJI7DHydEw-1; Mon, 07 Sep 2020 05:06:54 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 19E31873116; Mon, 7 Sep 2020 09:06:48 +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 ECDD41002D64; Mon, 7 Sep 2020 09:06:47 +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 BC1627A040; Mon, 7 Sep 2020 09:06:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 08796Dxf022576 for ; Mon, 7 Sep 2020 05:06:13 -0400 Received: by smtp.corp.redhat.com (Postfix) id B3C181A8EC; Mon, 7 Sep 2020 09:06:13 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.43.2.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C4A819728 for ; Mon, 7 Sep 2020 09:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599469616; 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=gmNedbA2UNZ2Pj7HohfKSO7ITlBNuemUZAAi0B6gkUc=; b=cJFS85KN1MKFJkpr1C8eUiBOUQuLIzu5S6xSPwle0RSZg54CjvZjLyK6NwwFGhSjkh+Z7Q GCf8dt0rXH1l6USQBnRpFbvPNXGBppaa78MYDb9bVCBEL1NpIJkjVuTsOtPgbqlZF8Goze ZxKIoEqjAuz5GKMFj6yXZrb0+Y//n7c= X-MC-Unique: 4PBKtPCIM1eoKJI7DHydEw-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH] qemu: migration: remove unused variable Date: Mon, 7 Sep 2020 11:06:08 +0200 Message-Id: <7afc99ae2daf8b50021c94ec40c5cd71b5c2b79c.1599469562.git.jtomko@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0.002 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) ../src/qemu/qemu_migration.c:4091:36: error: unused variable 'cfg' [-Werror= ,-Wunused-variable] g_autoptr(virQEMUDriverConfig) cfg =3D virQEMUDriverGetConfig(driver); Signed-off-by: J=C3=A1n Tomko Fixes: d92c2bbc6597fcb951b303a9122ec1ca71514d10 --- Pushed. src/qemu/qemu_migration.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 03d6a522e7..a530c17582 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -4088,7 +4088,6 @@ qemuMigrationSrcPerformTunnel(virQEMUDriverPtr driver, { int ret =3D -1; qemuMigrationSpec spec; - g_autoptr(virQEMUDriverConfig) cfg =3D virQEMUDriverGetConfig(driver); int fds[2] =3D { -1, -1 }; =20 VIR_DEBUG("driver=3D%p, vm=3D%p, st=3D%p, cookiein=3D%s, cookieinlen= =3D%d, " --=20 2.26.2