Reacted on harmless compiler warning

This commit is contained in:
Thomas Schmitt 2008-06-01 13:42:56 +00:00
parent 80feb22f04
commit 958ce832c8
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;
char path[SfileadrL], *apt, *npt, sfe[5*SfileadrL], sfe2[5*SfileadrL];
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 leaf_is_split= 0, source_is_split= 0, split_count, partno, total_parts, i;
off_t offset, bytes, total_bytes;
@ -2921,8 +2921,9 @@ attach_source:;
if(ret<=0)
goto restoring_failed;
}
Xorriso_restore_properties(xorriso, path, first_part_node,
!!(flag&64));
if(first_part_node!=NULL)
Xorriso_restore_properties(xorriso, path, first_part_node,
!!(flag&64));
break;
#ifdef Osirrox_not_yeT