Silenced harmless compiler warning of FreeBSD 6.3

master
Thomas Schmitt 13 years ago
parent 2d00b2075b
commit 8666adfe70
  1. 2
      xorriso/xorriso_timestamp.h
  2. 4
      xorriso/xorrisoburn.c

@ -1 +1 @@
#define Xorriso_timestamP "2009.12.08.144237"
#define Xorriso_timestamP "2009.12.10.120734"

@ -966,7 +966,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
int lba, track, session, params_flag, adr_mode, read_ret;
uint32_t size;
struct burn_drive_info *dinfo= NULL, *out_dinfo, *in_dinfo;
struct burn_drive *drive, *out_drive, *in_drive;
struct burn_drive *drive= NULL, *out_drive, *in_drive;
enum burn_disc_status state;
IsoImage *volset = NULL;
IsoNode *root_node;
@ -1320,7 +1320,7 @@ ex:
if(hret<ret)
ret= hret;
} else {
if((xorriso->do_calm_drive & 1) && !(flag & 64))
if(drive != NULL && (xorriso->do_calm_drive & 1) && !(flag & 64))
burn_drive_snooze(drive, 0); /* No need to make noise from start */
}
if(ropts!=NULL)

Loading…
Cancel
Save