From 564036d501df4bf0c4b3f4a8e9ed956ac15f5894 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 4 Nov 2015 08:47:51 +0000 Subject: [PATCH] Removed a surplus test for NULL. Coverity CID 28760. --- xorriso/read_run.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/read_run.c b/xorriso/read_run.c index e9545deb..9cdb90d0 100644 --- a/xorriso/read_run.c +++ b/xorriso/read_run.c @@ -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; } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index fcb26ebf..f090adbf 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.03.155015" +#define Xorriso_timestamP "2015.11.04.084711"