Skip to content

Commit 5dc0ef9

Browse files
committed
Remove unnecessary variables
1 parent 11eeb9a commit 5dc0ef9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/winmain.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,9 +1520,6 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR lpszCmdLine, int)
15201520
}
15211521

15221522
wstring prog2Launch = params[0];
1523-
wchar_t prog2LaunchDir[MAX_PATH];
1524-
lstrcpy(prog2LaunchDir, prog2Launch.c_str());
1525-
::PathRemoveFileSpec(prog2LaunchDir);
15261523
wstring destPathRoot = params[1];
15271524

15281525
#ifdef _DEBUG

0 commit comments

Comments
 (0)