Silenced harmless compiler warning of FreeBSD 6.3

This commit is contained in:
Thomas Schmitt 2009-12-10 12:06:10 +00:00
parent 0b701687da
commit 1e10737a85
2 changed files with 3 additions and 3 deletions

View File

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

View File

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