lib: remove clock class priority map, use default clock value
[babeltrace.git] / plugins / ctf / common / metadata / visitor-generate-ir.c
index 388c76f926e89560984357ddf85e2a65f2d3182d..743b61b1a58f788f8ebb5867a61ed3cc900b3fd5 100644 (file)
@@ -876,6 +876,8 @@ int get_unary_unsigned(struct bt_list_head *head, uint64_t *value)
        int ret = 0;
        struct ctf_node *node;
 
+       *value = 0;
+
        if (bt_list_empty(head)) {
                ret = -1;
                goto end;
This page took 0.02288 seconds and 4 git commands to generate.