Browse Source

common/file_util: Silence -Wswitch

nce_cpp
ReinUsesLisp 6 years ago
parent
commit
7b9f6e5764
  1. 3
      src/common/file_util.cpp

3
src/common/file_util.cpp

@ -713,7 +713,6 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) {
case UserPath::RootDir: case UserPath::RootDir:
user_path = paths[UserPath::RootDir] + DIR_SEP; user_path = paths[UserPath::RootDir] + DIR_SEP;
break; break;
case UserPath::UserDir: case UserPath::UserDir:
user_path = paths[UserPath::RootDir] + DIR_SEP; user_path = paths[UserPath::RootDir] + DIR_SEP;
paths[UserPath::ConfigDir] = user_path + CONFIG_DIR 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::SDMCDir] = user_path + SDMC_DIR DIR_SEP;
paths[UserPath::NANDDir] = user_path + NAND_DIR DIR_SEP; paths[UserPath::NANDDir] = user_path + NAND_DIR DIR_SEP;
break; break;
default:
break;
} }
} }

Loading…
Cancel
Save