Moved unused variable into its ifdef case. Coverity CID 21799.
This commit is contained in:
parent
330fb2cd20
commit
8416310ba6
@ -1700,12 +1700,16 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno,
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
struct burn_track *tr;
|
struct burn_track *tr;
|
||||||
struct burn_source *src= NULL, *fd_src= NULL;
|
struct burn_source *src= NULL;
|
||||||
double padding,lib_padding;
|
double padding,lib_padding;
|
||||||
int ret,sector_pad_up;
|
int ret,sector_pad_up;
|
||||||
double fixed_size;
|
double fixed_size;
|
||||||
int source_fd;
|
int source_fd;
|
||||||
|
|
||||||
|
#ifdef Cdrskin_use_libburn_fifO
|
||||||
|
struct burn_source *fd_src= NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
track->trackno= trackno;
|
track->trackno= trackno;
|
||||||
tr= burn_track_create();
|
tr= burn_track_create();
|
||||||
if(tr == NULL)
|
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);
|
burn_session_add_track(session,tr,BURN_POS_END);
|
||||||
ret= 1;
|
ret= 1;
|
||||||
ex:
|
ex:
|
||||||
|
|
||||||
|
#ifdef Cdrskin_use_libburn_fifO
|
||||||
if(fd_src!=NULL)
|
if(fd_src!=NULL)
|
||||||
burn_source_free(fd_src);
|
burn_source_free(fd_src);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(src!=NULL)
|
if(src!=NULL)
|
||||||
burn_source_free(src);
|
burn_source_free(src);
|
||||||
return(ret);
|
return(ret);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2015.10.23.134310"
|
#define Cdrskin_timestamP "2015.10.23.135526"
|
||||||
|
Loading…
Reference in New Issue
Block a user