Skip to content

Commit

Permalink
bugfix: rename local variable to avoid shadow of global one
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Nov 3, 2023
1 parent b4f1bd9 commit d4c96ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3572,8 +3572,8 @@ const TCHAR** uaenative_get_library_dirs(void)
bool data_dir_exists(char* directory)
{
if (directory == nullptr) return false;
std::string data_dir = "/data";
std::string check_for = directory + data_dir;
std::string dataDir = "/data";
std::string check_for = directory + dataDir;
return my_existsdir(check_for.c_str());
}

Expand Down

0 comments on commit d4c96ea

Please sign in to comment.