diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-04 22:31:03 +0000 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-04 23:28:34 +0000 |
| commit | 7b9f6e5764c302dfa004bc8b0a7d12f6092ee58d (patch) | |
| tree | cfe11ad733c46c7cf3be876fd6d766dc7e30a069 /src/common/file_util.cpp | |
| parent | 81dea00732ee880767825b173c20f0278b0dab96 (diff) | |
common/file_util: Silence -Wswitch
Diffstat (limited to 'src/common/file_util.cpp')
| -rw-r--r-- | src/common/file_util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 2d9374783d..41167f57a5 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -713,7 +713,6 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { case UserPath::RootDir: user_path = paths[UserPath::RootDir] + DIR_SEP; break; - case UserPath::UserDir: user_path = paths[UserPath::RootDir] + DIR_SEP; paths[UserPath::ConfigDir] = user_path + CONFIG_DIR DIR_SEP; @@ -721,6 +720,8 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { paths[UserPath::SDMCDir] = user_path + SDMC_DIR DIR_SEP; paths[UserPath::NANDDir] = user_path + NAND_DIR DIR_SEP; break; + default: + break; } } |
