Removed a surplus test for NULL. Coverity CID 28760.

This commit is contained in:
Thomas Schmitt 2015-11-04 08:47:51 +00:00
parent b913720b55
commit dae8b4b342
2 changed files with 2 additions and 2 deletions

View File

@ -671,7 +671,7 @@ int Xorriso_tree_restore_node(struct XorrisO *xorriso, IsoNode *node,
if(write_fd != -1)
close(write_fd);
write_fd= -1;
if(todo > 0 && xorriso->extract_error_mode == 2 && open_path_pt != NULL) {
if(todo > 0 && xorriso->extract_error_mode == 2) {
unlink(open_path_pt);
target_deleted= 1;
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.03.155015"
#define Xorriso_timestamP "2015.11.04.084711"