Reacted on compiler warning about uninitialized variable in rev 4476

This commit is contained in:
Thomas Schmitt 2011-12-06 13:47:52 +00:00
parent 7b0a23d553
commit c84ba30220
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.12.05.203821"
#define Cdrskin_timestamP "2011.12.06.134651"

View File

@ -663,7 +663,7 @@ int burn_write_leadin_cdtext(struct burn_write_opts *o, struct burn_session *s,
unsigned char *subdata = NULL;
struct burn_drive *d = o->drive;
struct buffer *buf = NULL;
enum burn_drive_status was_busy;
enum burn_drive_status was_busy = o->drive->busy;
#ifdef Libburn_debug_cd_texT
unsigned char *packs;
#endif
@ -671,7 +671,6 @@ int burn_write_leadin_cdtext(struct burn_write_opts *o, struct burn_session *s,
if (o->num_text_packs <= 0)
{ret = 1; goto ex;}
was_busy = d->busy;
d->busy = BURN_DRIVE_WRITING_LEADIN;
#ifdef Libburn_debug_cd_texT