From 77a68611e5c7cfa124351958c78d5d6a22bc7df7 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 6 Nov 2015 13:07:07 +0000 Subject: [PATCH] Removed unneccessary variables which were used uninitialized. Coverity CID 28810. --- xorriso/drive_mgt.c | 4 +--- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/xorriso/drive_mgt.c b/xorriso/drive_mgt.c index 80dc961a..be2c32a3 100644 --- a/xorriso/drive_mgt.c +++ b/xorriso/drive_mgt.c @@ -967,7 +967,7 @@ int Xorriso_media_product(struct XorrisO *xorriso, int flag) */ int Xorriso_toc(struct XorrisO *xorriso, int flag) { - int num_sessions= 0, num_tracks= 0, lba= 0, nwa= -1, pmin, psec, pframe, ret; + int num_sessions= 0, num_tracks= 0, lba= 0, nwa= -1, ret; int track_count= 0, session_no, track_no, profile_no= -1, track_size; int last_track_start= 0, last_track_size= -1, num_data= 0, is_data= 0; int is_inout_drive= 0, drive_role, status, num_formats, emul_lba; @@ -1338,9 +1338,7 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag) isoburn_toc_session_get_leadout_entry(sessions[session_no], &toc_entry); if (toc_entry.extensions_valid & 1) { lba= toc_entry.start_lba; - burn_lba_to_msf(lba, &pmin, &psec, &pframe); } else { - lba= burn_msf_to_lba(pmin, psec, pframe); lba= burn_msf_to_lba(toc_entry.pmin, toc_entry.psec, toc_entry.pframe); } last_track_size= lba - last_track_start; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index dcc6da0e..fabdeeb5 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2015.11.06.125705" +#define Xorriso_timestamP "2015.11.06.130635"