tests: test_dwarf.c: initialize `tag` variable
[babeltrace.git] / tests / plugins / flt.lttng-utils.debug-info / test-dwarf.c
index b74eabf4e2708b75756a9fa38e736f2bb6857841..e50d1c44981f227cd573e96bea4badee173ff56f 100644 (file)
@@ -63,7 +63,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.024635 seconds and 4 git commands to generate.