tests: test_dwarf.c: initialize `tag` variable
[babeltrace.git] / tests / plugins / flt.lttng-utils.debug-info / test_dwarf.c
index 01a7b5172500d0a1716dd6e038420f8b88eccac6..bfdbb4cfe7818ff801d47c18daf49a75f66489cd 100644 (file)
@@ -76,7 +76,7 @@ void test_bt_no_dwarf(const char *data_dir)
 static
 void test_bt_dwarf(const char *data_dir)
 {
-       int fd, ret, tag;
+       int fd, ret, tag = -1;
        char *path;
        char *die_name = NULL;
        struct bt_dwarf_cu *cu = NULL;
This page took 0.024044 seconds and 4 git commands to generate.