Cleanup warnings of -Wswitch
Add default branch to the switch-case.
This commit is contained in:
1 parent
586af0a55e
commit
f3d7b82f83
4 files changed
+26
-2
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user