diff --git a/test/test.c b/test/test.c index 3259a21e..1ee2f2cd 100644 --- a/test/test.c +++ b/test/test.c @@ -132,7 +132,6 @@ int main(int argc, char **argv) struct burn_drive_info *drives; struct iso_volset *volset; struct burn_drive *drive; - struct iso_tree_node_dir *root; struct burn_disc *disc; enum burn_disc_status state; struct isoburn_read_opts ropts; @@ -226,6 +225,7 @@ int main(int argc, char **argv) } #else + struct iso_tree_node_dir *root; root = iso_volume_get_root(iso_volset_get_volume(volset, 0)); /* add a new dir */ iso_tree_radd_dir(root, argv[optind+1], &behav);