Silenced compile warning

This commit is contained in:
Thomas Schmitt 2007-10-18 22:19:00 +00:00
parent 2c270d6153
commit 6a7329cd11
1 changed files with 1 additions and 1 deletions

View File

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