From: Olivier Dion Date: Wed, 26 Apr 2023 19:36:52 +0000 (-0400) Subject: tests/unit/test_build: Quiet unused return value X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fcab075f67cf3e29e8556b4af1bbbfb210977ac2;p=userspace-rcu.git 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 --- 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)