cdrom: fix unused variable warnings if debug is off
This commit is contained in:
parent
8f1b150806
commit
fa041e4040
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue