mmc_hl_cmds.c: remove gcc warning

solaris.c: remove unused fn warning when not on solaris
check_cue.sh.in: fix so we can build outside of source tree. With this, "make distcheck" works again.
This commit is contained in:
R. Bernstein
2012-01-28 20:56:30 -05:00
parent bf40f778d1
commit f130f66c5d
3 changed files with 49 additions and 51 deletions

View File

@@ -78,9 +78,10 @@ mmc_get_disc_erasable(const CdIo_t *p_cdio, bool *b_erasable) {
i_status = mmc_read_disc_information(p_cdio, buf, sizeof(buf),
CDIO_MMC_READ_DISC_INFO_STANDARD, 0);
*b_erasable = (DRIVER_OP_SUCCESS == i_status)
? (*b_erasable = ((buf[2] & 0x10) ? true : false))
: false;
if (DRIVER_OP_SUCCESS == i_status)
*b_erasable = ((buf[2] & 0x10) ? true : false);
else
*b_erasable = false;
return i_status;
}