Reacted on warnings of -Wunused-but-set-variable

This commit is contained in:
2011-07-03 19:42:04 +00:00
parent 132777bd31
commit a83286c556
4 changed files with 14 additions and 7 deletions

View File

@ -1471,7 +1471,7 @@ int Xorriso_option_update(struct XorrisO *xorriso, char *disk_path,
char *iso_path, int flag)
{
int ret, mem_pci, zero= 0, result, uret, follow_links, do_register= 0;
int not_in_iso= 0, not_on_disk= 0, made_di_array= 0;
int not_in_iso= 0, not_on_disk= 0;
double mem_lut= 0.0, start_time;
char *ipth, *argv[6];
char *eff_origin= NULL, *eff_dest= NULL;
@ -1524,7 +1524,6 @@ int Xorriso_option_update(struct XorrisO *xorriso, char *disk_path,
if(!(xorriso->ino_behavior & 2)) {
if(!(xorriso->di_array != NULL || (flag & 16))) {
/* Create all-image node array sorted by isofs.di */
made_di_array= 1;
ret= Xorriso_make_di_array(xorriso, 0);
if(ret <= 0)
goto ex;