From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id YNAQBbCTYmSCJwsAWB0awg (envelope-from ) for ; Mon, 15 May 2023 16:18:56 -0400 Received: by simark.ca (Postfix, from userid 112) id 112FC1E11E; Mon, 15 May 2023 16:18:56 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=ftzqsXyp; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C0E721E0D6 for ; Mon, 15 May 2023 16:18:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1684181931; bh=QyBNsKClqWCjNOv4UtBCp2VanfOXO0PyMG0JvkvPNlM=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ftzqsXypNOaxhvNYUmG9p6fEkGCM2djjYEzsgk3KaTabGb0JTUxkTOjcEVJ2L6Ima zfHPwb+lrYEhpQP8f7JaY71W6tbnDBQJ/yTqSJ5zsY0UriSTZym/AMt7t0W+KWpPB8 eIbq00nbAhrzJwk7AK4aI5mhTN5XT6EEaom2RUpLm67RqNcQDNY6vqL6B0whHeNZgW qOtOMnTsjW4dyKAPjlJw5YAGXINglIEHn0DQdYTF5fRwzSlz25gybmICfsUP6SyMdo Wwbl1AKThDLJyHUMZJ8aAt65K78CkFx5y56YMlUVKkvJJ7hpx7SQ/2JKaXSASLnZ1X oeV8kIupQvbcg== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4QKrL36Sdtz1Dkh; Mon, 15 May 2023 16:18:51 -0400 (EDT) Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lists.lttng.org (Postfix) with ESMTPS id 4QKrKy5c3vz1F1c for ; Mon, 15 May 2023 16:18:46 -0400 (EDT) Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4QKrKN407vz12nZ; Mon, 15 May 2023 16:18:16 -0400 (EDT) To: lttng-dev@lists.lttng.org Date: Mon, 15 May 2023 16:17:17 -0400 Message-Id: <20230515201718.9809-11-odion@efficios.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230515201718.9809-1-odion@efficios.com> References: <20230515201718.9809-1-odion@efficios.com> MIME-Version: 1.0 Subject: [lttng-dev] [PATCH 10/11] tests/unit/test_build: Quiet unused return value X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Olivier Dion via lttng-dev Reply-To: Olivier Dion Cc: Olivier Dion , "Paul E. McKenney" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Change-Id: Ie5a18e0ccc4b1b5ee85c5bd140561cc2ff9e2fbc Co-authored-by: Mathieu Desnoyers Signed-off-by: Olivier Dion --- tests/unit/test_build.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/test_build.c b/tests/unit/test_build.c index f6b667c..702c1ef 100644 --- a/tests/unit/test_build.c +++ b/tests/unit/test_build.c @@ -129,10 +129,10 @@ void test_build_rcu_dereference(void) static struct a_clear_struct *clear = NULL; static struct a_clear_struct *const clear_const = NULL; - rcu_dereference(opaque); - rcu_dereference(opaque_const); - rcu_dereference(clear); - rcu_dereference(clear_const); + (void) rcu_dereference(opaque); + (void) rcu_dereference(opaque_const); + (void) rcu_dereference(clear); + (void) rcu_dereference(clear_const); } int main(void) -- 2.39.2 _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev