Fix a bunch of compiler warnings

This commit is contained in:
Connor McLaughlin
2020-07-09 13:29:58 +10:00
parent 60a739e305
commit a5fe740e30
11 changed files with 15 additions and 19 deletions

View File

@ -867,9 +867,9 @@ void System::UpdateMemoryCards()
{
m_pad->SetMemoryCard(i, nullptr);
const MemoryCardType type = settings.memory_card_types[i];
std::unique_ptr<MemoryCard> card;
switch (settings.memory_card_types[i])
const MemoryCardType type = settings.memory_card_types[i];
switch (type)
{
case MemoryCardType::None:
continue;