From nobody Wed May 15 06:48:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1645104103; cv=none; d=zohomail.com; s=zohoarc; b=Jktz/4g1w++kZDGsn7X64bICSfN6JbKo/4gMvZCtEWzA2djUxtH1ngxGyb6qKuCp4AqRJ9B4T8kVZAljfQvq2fjO06XA8Wj9JXepBkH+oG1uQU0S/mq6phHFJoVLqbBVJ7fbtxr1EdKbPF6yz4WSNpo42da4PK+uS2+oMk1Bgbc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645104103; 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=S5NlTxEwy5OGz2AL3gJR+5CAp+FYGFucthvyimlBNeo=; b=UcsCjOJ2QRSp+W8O2uMunOn9uqm6f2pt8Sy9vTw9oGZzHUQEb/KEhJOL417SS9ylZpqXL6gJYqMZAbNRGZS5Ao3stsb9fAqQU5IWlahEICQlMvf+T3dNsfoM8ulR03R9MVmw0M4edds9Alwj8WH504J2sgFn9dnuAwrZRKVZvlQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1645104103807771.1590923773942; Thu, 17 Feb 2022 05:21:43 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-507-LgPA9W3tOYaU8TD_-D3Dyw-1; Thu, 17 Feb 2022 08:21:39 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 953581091DA2; Thu, 17 Feb 2022 13:21:33 +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 7831B7B019; Thu, 17 Feb 2022 13:21:33 +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 841CF4CA93; Thu, 17 Feb 2022 13:21:32 +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 21HDJ14X003264 for ; Thu, 17 Feb 2022 08:19:01 -0500 Received: by smtp.corp.redhat.com (Postfix) id BE733108BD2C; Thu, 17 Feb 2022 13:19:01 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1CFEF108649B for ; Thu, 17 Feb 2022 13:18:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645104102; 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=S5NlTxEwy5OGz2AL3gJR+5CAp+FYGFucthvyimlBNeo=; b=gz1N2isbhHAeG7Qu3pw+yOUGma6TGGbwNaWbwUQHfc8ai/8BQ0DWpCUQuiwhk/nOztXRLr JSmVMEasvJeAQi+5f8ygEnkQLSoe2Ta0fI0NifLVLV5XFWcLpk4mdRhm9OfysS6tjxdKdw QfntuqprHEHUb+FW+lvf7e42z/HtuhY= X-MC-Unique: LgPA9W3tOYaU8TD_-D3Dyw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH] virsystemdtest: remove unused 'demo_socket_path' Date: Thu, 17 Feb 2022 14:18:51 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.12 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) X-ZM-MESSAGEID: 1645104105416100001 Content-Type: text/plain; charset="utf-8" Commit b56a833243ca7324 removed bunch of old code after which 'demo_socket_path' in 'testActivationFDNames' is no longer used Signed-off-by: Peter Krempa --- Pushed as a build fix (for clang). tests/virsystemdtest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/virsystemdtest.c b/tests/virsystemdtest.c index 9b513697e0..fcd76514e1 100644 --- a/tests/virsystemdtest.c +++ b/tests/virsystemdtest.c @@ -526,15 +526,12 @@ testActivationFDNames(const void *opaque G_GNUC_UNUSE= D) size_t nfds =3D 0; g_autoptr(virSystemdActivation) act =3D NULL; g_auto(virBuffer) names =3D VIR_BUFFER_INITIALIZER; - g_autofree char *demo_socket_path =3D NULL; virBufferAddLit(&names, "demo-unix.socket"); if (testActivationCreateFDs(&sockUNIX, &sockIP, &nsockIP) < 0) return -1; - demo_socket_path =3D virNetSocketGetPath(sockUNIX); - for (i =3D 0; i < nsockIP; i++) virBufferAddLit(&names, ":demo-ip.socket"); --=20 2.35.1