diff options
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/spira.c | 2 | ||||
-rw-r--r-- | hdata/test/hdata_to_dt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hdata/spira.c b/hdata/spira.c index 330108b..6f384fd 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -1097,8 +1097,6 @@ int parse_hdat(bool is_opal) fixup_spira(); - dt_root = dt_new_root(""); - /* * Basic DT root stuff */ diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c index 9142d24..06f9005 100644 --- a/hdata/test/hdata_to_dt.c +++ b/hdata/test/hdata_to_dt.c @@ -232,6 +232,8 @@ int main(int argc, char *argv[]) fclose(stderr); } + dt_root = dt_new_root(""); + if(parse_hdat(false) < 0) { fprintf(stderr, "FATAL ERROR parsing HDAT\n"); exit(EXIT_FAILURE); |