diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-03 03:50:57 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-03 03:50:57 +0100 |
commit | 031237e52cb1a32eb2a3ba37115170913e33e5dc (patch) | |
tree | 1d46509e07d20e2be2c25157b89b1061a7f75ba7 /src/core/file_sys/archive_backend.h | |
parent | Merge pull request #392 from lioncash/sm (diff) | |
parent | IVFCArchive: Use a critical log to notify of invalid operations. (diff) | |
download | yuzu-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 'src/core/file_sys/archive_backend.h')
-rw-r--r-- | src/core/file_sys/archive_backend.h | 3 |
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 {}; |