diff options
| author | 2017-08-19 12:04:40 -0500 | |
|---|---|---|
| committer | 2017-08-21 08:34:28 -0500 | |
| commit | 65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3 (patch) | |
| tree | 2c70231243f2fb8dc71cd4d5b2746acd6646ed10 /src/core/file_sys | |
| parent | HLE/Applets: Fixed some conversion warnings when creating the framebuffer sha... (diff) | |
| download | yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.gz yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.xz yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.zip | |
Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/archive_backend.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.cpp b/src/core/file_sys/archive_backend.cpp index 1fae0ede0..87a240d7a 100644 --- a/src/core/file_sys/archive_backend.cpp +++ b/src/core/file_sys/archive_backend.cpp | |||
| @@ -90,6 +90,8 @@ std::u16string Path::AsU16Str() const { | |||
| 90 | LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!"); | 90 | LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!"); |
| 91 | return {}; | 91 | return {}; |
| 92 | } | 92 | } |
| 93 | |||
| 94 | UNREACHABLE(); | ||
| 93 | } | 95 | } |
| 94 | 96 | ||
| 95 | std::vector<u8> Path::AsBinary() const { | 97 | std::vector<u8> Path::AsBinary() const { |