Get rid of cForceWorkingDir(cWorkingDir())

It has no sense as no code sets working directory directly to the variable anymore.
This commit is contained in:
Ilya Fedin 2023-08-14 11:01:28 +04:00 committed by John Preston
parent 330dfaa4d9
commit 3d769a6dce
1 changed files with 0 additions and 2 deletions

View File

@ -364,7 +364,6 @@ void start() {
if (!cWorkingDir().isEmpty()) {
// This value must come from TelegramForcePortable
cForceWorkingDir(cWorkingDir());
workingDirChosen = true;
} else {
#if !defined _DEBUG || defined OS_MAC_STORE
@ -387,7 +386,6 @@ void start() {
if (!cWorkingDir().isEmpty()) {
// This value must come from TelegramForcePortable
cForceWorkingDir(cWorkingDir());
workingDirChosen = true;
}