Reacted on compiler warning of gcc on AIX. Thanks Richard Nolde.

This commit is contained in:
Thomas Schmitt 2014-04-03 19:48:20 +00:00
parent 1521579861
commit 1a9c7ed015
2 changed files with 2 additions and 5 deletions

View File

@ -651,7 +651,7 @@ int Xorriso_boot_image_status(struct XorrisO *xorriso, char *filter, FILE *fp,
int flag) int flag)
{ {
int ret, i, num_boots, hflag; int ret, i, num_boots, hflag;
int bin_path_in_use= 0, is_default, no_defaults; int is_default, no_defaults;
char *path= NULL, *form= "any", *line, *hpt; char *path= NULL, *form= "any", *line, *hpt;
struct burn_drive_info *dinfo; struct burn_drive_info *dinfo;
struct burn_drive *drive; struct burn_drive *drive;
@ -697,9 +697,6 @@ no_image:;
goto report_open_item; goto report_open_item;
} }
if(xorriso->boot_image_bin_path[0] || xorriso->boot_count > 0)
bin_path_in_use= 1;
is_default= (xorriso->boot_image_cat_path[0] == 0); is_default= (xorriso->boot_image_cat_path[0] == 0);
sprintf(line,"-boot_image %s cat_path=", form); sprintf(line,"-boot_image %s cat_path=", form);
Text_shellsafe(xorriso->boot_image_cat_path, line, 1); Text_shellsafe(xorriso->boot_image_cat_path, line, 1);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2014.03.25.195908" #define Xorriso_timestamP "2014.04.03.194751"