Commit cd39f0cd authored by Austin English's avatar Austin English Committed by Alexandre Julliard

progman: Avoid assigning a variable to itself (LLVM/Clang).

parent 6b2c9505
......@@ -272,10 +272,8 @@ VOID PROGRAM_ExecuteProgram(HLOCAL hProgram)
{
PROGRAM *program = LocalLock(hProgram);
LPSTR lpszCmdLine = LocalLock(program->hCmdLine);
LPSTR lpszWorkDir = LocalLock(program->hWorkDir);
/* FIXME set working directory */
lpszWorkDir = lpszWorkDir;
/* FIXME set working directory from program->hWorkDir */
WinExec(lpszCmdLine, program->nCmdShow);
if (Globals.bMinOnRun) CloseWindow(Globals.hMainWnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment