[lttng-dev] [PATCH v2 09/12] tests/unit/test_build: Quiet unused return value
Olivier Dion
odion at efficios.com
Wed Jun 7 14:53:56 EDT 2023
Change-Id: Ie5a18e0ccc4b1b5ee85c5bd140561cc2ff9e2fbc
Co-authored-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Signed-off-by: Olivier Dion <odion at efficios.com>
---
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.40.1
More information about the lttng-dev
mailing list