urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
[userspace-rcu.git] / src / urcu-wait.h
index 7cb2052d273fb192f266e715b7c2fea74cd1b446..21cd85dcfdadfde706af3cf085112d68987d1984 100644 (file)
@@ -49,7 +49,7 @@ struct urcu_wait_node {
 };
 
 #define URCU_WAIT_NODE_INIT(name, _state)              \
-       { .state = _state }
+       { .node = { .next = NULL }, .state = _state }
 
 #define DEFINE_URCU_WAIT_NODE(name, state)             \
        struct urcu_wait_node name = URCU_WAIT_NODE_INIT(name, state)
This page took 0.023174 seconds and 4 git commands to generate.