diff options
| author | JMC47 <JMC4789@gmail.com> | 2021-07-19 15:10:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-19 15:10:02 -0400 |
| commit | c1845691923eaf34c7b9caabeacaab30d3d5fbf4 (patch) | |
| tree | 360769798b9cdea1e47be1c7f8b084ce36a02984 /Source/Core/Common/FileUtil.cpp | |
| parent | 6e7698a3540eb3e9186bea442f08d5d96544d73f (diff) | |
| parent | fe670a3e68ee6f7d504ab372e78cba33b9b7752e (diff) | |
Merge pull request #9916 from Dentomologist/fileinfo_constructor_remove_duplication
FileUtil: Remove duplication in FileInfo constructor
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/FileUtil.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index a65f58f793..f8814b8c02 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -92,12 +92,6 @@ FileInfo::FileInfo(const char* path) : FileInfo(std::string(path)) #else FileInfo::FileInfo(const std::string& path) : FileInfo(path.c_str()) { -#ifdef ANDROID - if (IsPathAndroidContent(path)) - AndroidContentInit(path); - else -#endif - m_exists = stat(path.c_str(), &m_stat) == 0; } FileInfo::FileInfo(const char* path) |
