Search
lxdream.org :: lxdream/src/drivers/cdrom/cd_mmc.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/cdrom/cd_mmc.c
changeset 1298:d0eb2307b847
prev1296:30ecee61f811
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/drivers/cdrom/cd_mmc.c Sat Jan 26 14:00:48 2013 +1000
1.2 +++ b/src/drivers/cdrom/cd_mmc.c Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -35,7 +35,6 @@
1.4 int max_track = 0;
1.5 int max_session = 0;
1.6 int last_track = -1;
1.7 - int leadout = -1;
1.8 int len = (buf[0] << 8) | buf[1];
1.9 int session_type = -1;
1.10 int i;
1.11 @@ -192,7 +191,6 @@
1.12
1.13 static cdrom_error_t cdrom_disc_scsi_stop_audio( cdrom_disc_t disc )
1.14 {
1.15 - uint32_t buflen = 0;
1.16 char cmd[12] = {0x4E,0,0,0, 0,0,0,0, 0,0,0,0};
1.17
1.18 return SCSI_TRANSPORT(disc)->packet_cmd( disc, cmd );
.