From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 0973E3858035 for ; Thu, 7 Sep 2023 07:11:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0973E3858035 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694070692; h=from:from: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; bh=PPw87zS6yenEl+vaj0XIikaUp+cHAM5xxj9kIeOBfBU=; b=Z4ahOXCcG3OH4KfPm1+0Ow80xDaX7QSlTFN27oi2RKSJes5OcS6NdD7guZ60Odl0HCF+D3 1g/NDhydUQotpS+l8kn5gjcW0NQ4vQxu+kXjb4yXELWTJYifrbkDAMBEGpNgb9E25AkQli WPgzcDz7kUK1DVDrC1NnI/rF90Oc71U= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-512-Wxw44ZkROIa7hxD5fZ4rkg-1; Thu, 07 Sep 2023 03:11:29 -0400 X-MC-Unique: Wxw44ZkROIa7hxD5fZ4rkg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 662C589CB0A; Thu, 7 Sep 2023 07:11:29 +0000 (UTC) Received: from localhost (unknown [10.42.28.200]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2EBAB400F5F; Thu, 7 Sep 2023 07:11:29 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Avoid -Wunused-parameter warning in testsuite helper Date: Thu, 7 Sep 2023 08:11:13 +0100 Message-ID: <20230907071128.866844-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tested x86_64-linux. Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * testsuite/util/testsuite_iterators.h (is_customization_point_object): Remove parameter name. --- libstdc++-v3/testsuite/util/testsuite_iterators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h index 55045e48d56..d296a2cf18c 100644 --- a/libstdc++-v3/testsuite/util/testsuite_iterators.h +++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h @@ -916,7 +916,7 @@ namespace __gnu_test // Test for basic properties of C++20 16.3.3.6 [customization.point.object]. template constexpr bool - is_customization_point_object(T& obj) noexcept + is_customization_point_object(T&) noexcept { // A [CPO] is a function object with a literal class type. static_assert( std::is_class_v || std::is_union_v ); -- 2.41.0