diff options
author | Subv <subv2112@gmail.com> | 2017-08-19 12:04:40 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-08-21 08:34:28 -0500 |
commit | 65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3 (patch) | |
tree | 2c70231243f2fb8dc71cd4d5b2746acd6646ed10 /src/core/file_sys | |
parent | 145a7293a32c6fb25f1db796f7e1dd6c4efc985e (diff) |
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 { LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!"); return {}; } + + UNREACHABLE(); } std::vector<u8> Path::AsBinary() const { |