qsbr example: add missing return 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Jun 2013 20:25:47 +0000 (16:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Jun 2013 20:25:47 +0000 (16:25 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.025312 seconds and 4 git commands to generate.