mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
silence unused variable warnings
This commit is contained in:
parent
67f0df94f9
commit
d9bbe604e9
@ -1392,7 +1392,9 @@ struct string_list* cdrom_get_available_drives(void)
|
||||
|
||||
if (filestream_read_file("/proc/modules", (void**)&buf, &len))
|
||||
{
|
||||
#ifdef CDROM_DEBUG
|
||||
bool found = false;
|
||||
#endif
|
||||
struct string_list *mods = string_split(buf, "\n");
|
||||
|
||||
if (mods)
|
||||
@ -1401,7 +1403,9 @@ struct string_list* cdrom_get_available_drives(void)
|
||||
{
|
||||
if (strcasestr(mods->elems[i].data, "sg "))
|
||||
{
|
||||
#ifdef CDROM_DEBUG
|
||||
found = true;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user