cdrom: fix unused variable warnings if debug is off

This commit is contained in:
Brad Parker 2019-06-29 13:46:37 -04:00
parent 8f1b150806
commit fa041e4040
2 changed files with 5 additions and 0 deletions

View File

@ -220,6 +220,9 @@ retry:
unsigned i;
const char *sense_key_text = NULL;
(void)sense_key_text;
(void)i;
switch (sense[2] & 0xF)
{
case 0:

View File

@ -68,6 +68,8 @@ int64_t retro_vfs_file_seek_cdrom(libretro_vfs_implementation_file *stream, int6
unsigned char frame = 0;
const char *seek_type = "SEEK_SET";
(void)seek_type;
lba_to_msf(frames, &min, &sec, &frame);
switch (whence)