Browse Source

Moved unused variable into its ifdef case. Coverity CID 21799.

1.4.2
Thomas Schmitt 7 years ago
parent
commit
8416310ba6
  1. 10
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

10
cdrskin/cdrskin.c

@ -1700,12 +1700,16 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno,
*/
{
struct burn_track *tr;
struct burn_source *src= NULL, *fd_src= NULL;
struct burn_source *src= NULL;
double padding,lib_padding;
int ret,sector_pad_up;
double fixed_size;
int source_fd;
#ifdef Cdrskin_use_libburn_fifO
struct burn_source *fd_src= NULL;
#endif
track->trackno= trackno;
tr= burn_track_create();
if(tr == NULL)
@ -1811,8 +1815,12 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno,
burn_session_add_track(session,tr,BURN_POS_END);
ret= 1;
ex:
#ifdef Cdrskin_use_libburn_fifO
if(fd_src!=NULL)
burn_source_free(fd_src);
#endif
if(src!=NULL)
burn_source_free(src);
return(ret);

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.23.134310"
#define Cdrskin_timestamP "2015.10.23.135526"

Loading…
Cancel
Save