Reacted on compiler warning about uninitialized variable in rev 4476

1.2.0
Thomas Schmitt 11 years ago
parent 7b0a23d553
commit c84ba30220
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 3
      libburn/write.c

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

@ -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

Loading…
Cancel
Save