Reacted on harmless compiler warning

This commit is contained in:
Thomas Schmitt 2008-06-01 13:42:56 +00:00
parent 27f8339527
commit dc2664f753
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.05.31.174045" #define Xorriso_timestamP "2008.06.01.134322"

View File

@ -2749,7 +2749,7 @@ int Xorriso_restore(struct XorrisO *xorriso,
IsoImage *volume; IsoImage *volume;
char path[SfileadrL], *apt, *npt, sfe[5*SfileadrL], sfe2[5*SfileadrL]; char path[SfileadrL], *apt, *npt, sfe[5*SfileadrL], sfe2[5*SfileadrL];
char *img_path_pt, *part_name; char *img_path_pt, *part_name;
IsoNode *node= NULL, *part_node, *first_part_node; IsoNode *node= NULL, *part_node, *first_part_node= NULL;
int done= 0, is_dir= 0, ret, target_is_dir, source_is_dir, stbuf_ret, hret; int done= 0, is_dir= 0, ret, target_is_dir, source_is_dir, stbuf_ret, hret;
int leaf_is_split= 0, source_is_split= 0, split_count, partno, total_parts, i; int leaf_is_split= 0, source_is_split= 0, split_count, partno, total_parts, i;
off_t offset, bytes, total_bytes; off_t offset, bytes, total_bytes;
@ -2921,6 +2921,7 @@ attach_source:;
if(ret<=0) if(ret<=0)
goto restoring_failed; goto restoring_failed;
} }
if(first_part_node!=NULL)
Xorriso_restore_properties(xorriso, path, first_part_node, Xorriso_restore_properties(xorriso, path, first_part_node,
!!(flag&64)); !!(flag&64));
break; break;