diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-05-02 22:14:15 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-05-03 01:19:13 -0400 |
| commit | 84b656fbbd9b2fb0206773ac80192a2f2c4a9877 (patch) | |
| tree | 024cebd87e461cc8212810576b0e759321911f1f /src/core/loader/deconstructed_rom_directory.cpp | |
| parent | 887972a91b9533bfce789c323400f37a0d8a3a9a (diff) | |
core: Resolve misc cases of variable shadowing
Resolves shadowing warnings that aren't in a particularly large
subsection of core. Brings us closer to turning -Wshadow into an error.
All that remains now is for cases in the kernel (left untouched for now
since a big change by bunnei is pending), and a few left over in the
service code (will be tackled next).
Diffstat (limited to 'src/core/loader/deconstructed_rom_directory.cpp')
| -rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index ed776fc496..fed47ecdaa 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp @@ -79,8 +79,8 @@ AppLoader_DeconstructedRomDirectory::AppLoader_DeconstructedRomDirectory( : AppLoader(directory->GetFile("main")), dir(std::move(directory)), override_update(override_update) {} -FileType AppLoader_DeconstructedRomDirectory::IdentifyType(const FileSys::VirtualFile& file) { - if (FileSys::IsDirectoryExeFS(file->GetContainingDirectory())) { +FileType AppLoader_DeconstructedRomDirectory::IdentifyType(const FileSys::VirtualFile& dir_file) { + if (FileSys::IsDirectoryExeFS(dir_file->GetContainingDirectory())) { return FileType::DeconstructedRomDirectory; } |
