diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-22 17:21:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 17:21:59 -0700 |
commit | 0308a2679ed87aa9cb07e2bde19e165dc454c322 (patch) | |
tree | a1d29aacabab533673bff8043ec11864d68ed022 /src/core/hle | |
parent | 255f8d22d7cbb85b6d7742d46a1a6c55262ad4e1 (diff) | |
parent | 2fa207058ba6cb1c4d519942e5543bd942f03f6c (diff) |
Merge pull request #6493 from Morph1984/fs-nodiscard
common: fs: Miscellaneous changes
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/bcat/backend/boxcat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp index a2844ea8c..dc15cf58b 100644 --- a/src/core/hle/service/bcat/backend/boxcat.cpp +++ b/src/core/hle/service/bcat/backend/boxcat.cpp @@ -313,7 +313,7 @@ void SynchronizeInternal(AM::Applets::AppletManager& applet_manager, DirectoryGe LOG_ERROR(Service_BCAT, "Boxcat synchronization failed with error '{}'!", res); if (res == DownloadResult::NoMatchBuildId || res == DownloadResult::NoMatchTitleId) { - void(Common::FS::RemoveFile(zip_path)); + Common::FS::RemoveFile(zip_path); } HandleDownloadDisplayResult(applet_manager, res); @@ -445,7 +445,7 @@ std::optional<std::vector<u8>> Boxcat::GetLaunchParameter(TitleIDVersion title) LOG_ERROR(Service_BCAT, "Boxcat synchronization failed with error '{}'!", res); if (res == DownloadResult::NoMatchBuildId || res == DownloadResult::NoMatchTitleId) { - void(Common::FS::RemoveFile(bin_file_path)); + Common::FS::RemoveFile(bin_file_path); } HandleDownloadDisplayResult(applet_manager, res); |