Eliminate warning for unused parameter.

This commit is contained in:
Stephen Anthony 2022-04-16 21:54:16 -02:30
parent 97487cdaef
commit 20bac793dd
1 changed files with 1 additions and 1 deletions

View File

@ -796,7 +796,7 @@ ByteBuffer OSystem::openROM(const FilesystemNode& rom, size_t& size,
if((size = rom.read(image, sizeToRead)) == 0)
return nullptr;
}
catch(const runtime_error& e)
catch(const runtime_error&)
{
if(showErrorMessage) // If caller wants error messages, pass it back
throw;