aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
authorPeter Bozsó2016-06-12 21:28:16 +0200
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitc068b74f303484819a8432379890b637d7bba029 (patch)
treea97fc86db04d52f499b0460f952938e67a5cb532 /backends/cloud
parentdbafbf25693f13a9a3105379dd2b964095712fce (diff)
downloadscummvm-rg350-c068b74f303484819a8432379890b637d7bba029.tar.gz
scummvm-rg350-c068b74f303484819a8432379890b637d7bba029.tar.bz2
scummvm-rg350-c068b74f303484819a8432379890b637d7bba029.zip
CLOUD: Force handling of all StorageIDs values in CloudManager::getStorageConfigName()
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/cloudmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/cloud/cloudmanager.cpp b/backends/cloud/cloudmanager.cpp
index adfebdca88..0c087be7be 100644
--- a/backends/cloud/cloudmanager.cpp
+++ b/backends/cloud/cloudmanager.cpp
@@ -50,7 +50,8 @@ Common::String CloudManager::getStorageConfigName(uint32 index) const {
case kStorageOneDriveId: return "OneDrive";
case kStorageGoogleDriveId: return "GoogleDrive";
}
- return "Unknown";
+ assert(false); // Unhandled StorageIDs value
+ return "";
}
void CloudManager::loadStorage() {