From fcab075f67cf3e29e8556b4af1bbbfb210977ac2 Mon Sep 17 00:00:00 2001 From: Olivier Dion Date: Wed, 26 Apr 2023 15:36:52 -0400 Subject: [PATCH] tests/unit/test_build: Quiet unused return value Change-Id: Ie5a18e0ccc4b1b5ee85c5bd140561cc2ff9e2fbc Co-authored-by: Mathieu Desnoyers Signed-off-by: Olivier Dion Signed-off-by: Mathieu Desnoyers --- 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 86fa5ab..d3c2035 100644 --- a/tests/unit/test_build.c +++ b/tests/unit/test_build.c @@ -115,10 +115,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.5