Cleanup: remove unused return value warning from tests
[urcu.git] / urcu / static / urcu-qsbr.h
index 8f2ca32a2f111c4b1469c010c5f1fcb4669039a5..143d75a7e1e047f0ec2f81709f3ca39175debdab 100644 (file)
@@ -106,8 +106,13 @@ static inline void wake_up_gp(void)
                if (uatomic_read(&rcu_gp.futex) != -1)
                        return;
                uatomic_set(&rcu_gp.futex, 0);
-               futex_noasync(&rcu_gp.futex, FUTEX_WAKE, 1,
-                     NULL, NULL, 0);
+               /*
+                * Ignoring return value until we can make this function
+                * return something (because urcu_die() is not publicly
+                * exposed).
+                */
+               (void) futex_noasync(&rcu_gp.futex, FUTEX_WAKE, 1,
+                               NULL, NULL, 0);
        }
 }
 
This page took 0.033026 seconds and 4 git commands to generate.