mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +00:00
Cleanup warnings of -Wswitch
Add default branch to the switch-case.
This commit is contained in:
parent
586af0a55e
commit
f3d7b82f83
4 changed files with 26 additions and 2 deletions
|
@ -747,6 +747,7 @@ void GameList::OpenGCSaveFolder()
|
|||
break;
|
||||
}
|
||||
case ExpansionInterface::EXIDEVICE_MEMORYCARD:
|
||||
{
|
||||
std::string memcard_path = i == 0 ? Config::Get(Config::MAIN_MEMCARD_A_PATH) :
|
||||
Config::Get(Config::MAIN_MEMCARD_B_PATH);
|
||||
|
||||
|
@ -756,6 +757,9 @@ void GameList::OpenGCSaveFolder()
|
|||
url = QUrl::fromLocalFile(QString::fromStdString(memcard_dir));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
found |= !url.isEmpty();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue