1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-26 14:06:31 -05:00

Merge pull request #2942 from ReinUsesLisp/clang-warnings

Silence miscellaneous warnings
This commit is contained in:
bunnei
2019-10-05 20:41:20 -04:00
committed by GitHub
36 changed files with 68 additions and 58 deletions

View File

@@ -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;
}
}