mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
silence unused variable warnings
This commit is contained in:
parent
67f0df94f9
commit
d9bbe604e9
1 changed files with 4 additions and 0 deletions
|
@ -1392,7 +1392,9 @@ struct string_list* cdrom_get_available_drives(void)
|
||||||
|
|
||||||
if (filestream_read_file("/proc/modules", (void**)&buf, &len))
|
if (filestream_read_file("/proc/modules", (void**)&buf, &len))
|
||||||
{
|
{
|
||||||
|
#ifdef CDROM_DEBUG
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
#endif
|
||||||
struct string_list *mods = string_split(buf, "\n");
|
struct string_list *mods = string_split(buf, "\n");
|
||||||
|
|
||||||
if (mods)
|
if (mods)
|
||||||
|
@ -1401,7 +1403,9 @@ struct string_list* cdrom_get_available_drives(void)
|
||||||
{
|
{
|
||||||
if (strcasestr(mods->elems[i].data, "sg "))
|
if (strcasestr(mods->elems[i].data, "sg "))
|
||||||
{
|
{
|
||||||
|
#ifdef CDROM_DEBUG
|
||||||
found = true;
|
found = true;
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue