summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-02 12:27:21 +0100
committerGitHub <noreply@github.com>2022-03-02 12:27:21 +0100
commitbcc14d32b821bfc932f81269b336df7a325393ea (patch)
treece979ff7441a0e943045c65a7993481b060b129a /Source/Core/Common/FileUtil.cpp
parentebfee3b2deb6024ec9e59d1cbc6049eb1848fd53 (diff)
parent01bd5e15ba4484c6d49ae569dc620e42f4218838 (diff)
Merge pull request #10482 from Dentomologist/remove_redundant_statement
FileUtil: Remove redundant statement
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp
index d84b725e70..8715c50a99 100644
--- a/Source/Core/Common/FileUtil.cpp
+++ b/Source/Core/Common/FileUtil.cpp
@@ -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));