tests/unit/test_build: Quiet unused return value
authorOlivier Dion <odion@efficios.com>
Wed, 26 Apr 2023 19:36:52 +0000 (15:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 14 Aug 2023 19:39:20 +0000 (15:39 -0400)
Change-Id: Ie5a18e0ccc4b1b5ee85c5bd140561cc2ff9e2fbc
Co-authored-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/unit/test_build.c

index 86fa5ab7f0047b814a063284ab9786e1df1b6adf..d3c20351bdc7e410d02fd2f03f3254f390b8c931 100644 (file)
@@ -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;
 
        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)
 }
 
 int main(void)
This page took 0.02691 seconds and 4 git commands to generate.