Merge pull request #10482 from Dentomologist/remove_redundant_statement
FileUtil: Remove redundant statement
This commit is contained in:
commit
bcc14d32b8
|
@ -859,7 +859,6 @@ std::string GetExePath()
|
||||||
}
|
}
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
result = GetBundleDirectory();
|
result = GetBundleDirectory();
|
||||||
result = result.substr(0, result.find_last_of("Dolphin.app/Contents/MacOS") + 1);
|
|
||||||
#else
|
#else
|
||||||
char dolphin_exe_path[PATH_MAX];
|
char dolphin_exe_path[PATH_MAX];
|
||||||
ssize_t len = ::readlink("/proc/self/exe", dolphin_exe_path, sizeof(dolphin_exe_path));
|
ssize_t len = ::readlink("/proc/self/exe", dolphin_exe_path, sizeof(dolphin_exe_path));
|
||||||
|
|
Loading…
Reference in New Issue