Merge pull request #10482 from Dentomologist/remove_redundant_statement

FileUtil: Remove redundant statement
This commit is contained in:
Léo Lam 2022-03-02 12:27:21 +01:00 committed by GitHub
commit bcc14d32b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -859,7 +859,6 @@ std::string GetExePath()
}
#elif defined(__APPLE__)
result = GetBundleDirectory();
result = result.substr(0, result.find_last_of("Dolphin.app/Contents/MacOS") + 1);
#else
char dolphin_exe_path[PATH_MAX];
ssize_t len = ::readlink("/proc/self/exe", dolphin_exe_path, sizeof(dolphin_exe_path));