Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9916 from Dentomologist/fileinfo_constructor_remo…
…ve_duplication

FileUtil: Remove duplication in FileInfo constructor
  • Loading branch information
JMC47 committed Jul 19, 2021
2 parents 6e7698a + fe670a3 commit c184569
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/Core/Common/FileUtil.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit c184569

Please sign in to comment.