qsbr example: add missing return 0
[urcu.git] / doc / examples / qsbr-minimal / qsbr-minimal.c
index acb8c8ad52cc099a2ef1799bbc7369137e93a8c7..cc7278d6f89f2c992daa6538029b4555abaf0bef 100644 (file)
@@ -49,6 +49,7 @@ int add_node(uint64_t v)
                return -1;
        node->value = v;
        cds_list_add_rcu(&node->node, &mylist);
+       return 0;
 }
 
 static
This page took 0.033495 seconds and 4 git commands to generate.