Removed some outdated code parts
This commit is contained in:
@ -2438,9 +2438,10 @@ unsupported_type:;
|
||||
|
||||
/* @param flag bit0= in_node is valid, do not resolve img_path
|
||||
bit1= test mode: print DEBUG messages
|
||||
@return <0 = error, 0 = not identical regular files , 1 = identical
|
||||
@return <0 = error,
|
||||
0 = surely not identical regular files ,
|
||||
1 = surely identical
|
||||
2 = potentially depending on unknown disk file (e.g. -cut_out)
|
||||
and hitting an existing disk file object
|
||||
*/
|
||||
int Xorriso_restore_is_identical(struct XorrisO *xorriso, void *in_node,
|
||||
char *img_path, char *disk_path,
|
||||
@ -2457,6 +2458,8 @@ int Xorriso_restore_is_identical(struct XorrisO *xorriso, void *in_node,
|
||||
struct stat stbuf;
|
||||
|
||||
memset(type_text, 0, 5);
|
||||
if(!xorriso->volset_change_pending)
|
||||
return(0);
|
||||
if(flag&1) {
|
||||
node= (IsoNode *) in_node;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user