Fix: return of garbage value on empty specifier list
[babeltrace.git] / plugins / ctf / common / metadata / visitor-generate-ir.c
index 07f4391fcbcb0c2bf8b1e2fbab2490c14be288f5..b367e6862ab261dff9b27def8e3bf3295b4334b7 100644 (file)
@@ -1173,7 +1173,7 @@ static
 int get_type_specifier_list_name(struct ctx *ctx,
        struct ctf_node *type_specifier_list, GString *str)
 {
-       int ret;
+       int ret = 0;
        struct ctf_node *iter;
        int alias_item_nr = 0;
        struct bt_list_head *head =
This page took 0.022715 seconds and 4 git commands to generate.