summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_backend.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-03 03:50:57 +0100
committerbunnei <bunneidev@gmail.com>2015-01-03 03:50:57 +0100
commit031237e52cb1a32eb2a3ba37115170913e33e5dc (patch)
tree1d46509e07d20e2be2c25157b89b1061a7f75ba7 /src/core/file_sys/archive_backend.h
parentMerge pull request #392 from lioncash/sm (diff)
parentIVFCArchive: Use a critical log to notify of invalid operations. (diff)
downloadyuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.tar
yuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.tar.gz
yuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.tar.bz2
yuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.tar.lz
yuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.tar.xz
yuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.tar.zst
yuzu-031237e52cb1a32eb2a3ba37115170913e33e5dc.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/archive_backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h
index 1612c35c2..390178f67 100644
--- a/src/core/file_sys/archive_backend.h
+++ b/src/core/file_sys/archive_backend.h
@@ -88,6 +88,7 @@ public:
const std::string DebugStr() const {
switch (GetType()) {
case Invalid:
+ default:
return "[Invalid]";
case Empty:
return "[Empty]";
@@ -117,6 +118,7 @@ public:
return {};
case Invalid:
case Binary:
+ default:
// TODO(yuriks): Add assert
LOG_ERROR(Service_FS, "LowPathType cannot be converted to string!");
return {};
@@ -159,6 +161,7 @@ public:
case Empty:
return {};
case Invalid:
+ default:
// TODO(yuriks): Add assert
LOG_ERROR(Service_FS, "LowPathType cannot be converted to binary!");
return {};