From dff591b0d8b374d32e7ab5559a42d21d438efe50 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 9 Nov 2015 09:55:32 +0000 Subject: [PATCH] Removed a surplus test statement with -boot_image any show_status. Coverity CID 28713. --- xorriso/iso_img.c | 7 +------ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index 3804d630..26d7b628 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -564,12 +564,7 @@ int Xorriso_boot_status_non_mbr(struct XorrisO *xorriso, IsoImage *image, strcat(line, "\n"); Xorriso_status_result(xorriso, filter, fp, flag & 2); return(0); - } - if(sa_type != 1 && sa_type != 2 && sa_type != 4 && sa_type != 5 && - sa_type != 6) - return(0); - - if(sa_type == 1 || sa_type == 2) { + } else if(sa_type == 1 || sa_type == 2) { num_boots= iso_image_get_mips_boot_files(image, paths, 0); Xorriso_process_msg_queues(xorriso, 0); if(num_boots > 0) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 1a069d0f..5784466c 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.08.202957" +#define Xorriso_timestamP "2015.11.09.095505"