From 01bd5e15ba4484c6d49ae569dc620e42f4218838 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Fri, 25 Feb 2022 21:07:39 -0800 Subject: [PATCH] FileUtil: Remove redundant statement --- Source/Core/Common/FileUtil.cpp | 1 - 1 file changed, 1 deletion(-) 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));