André Hentschel : shell32: Remove dead assignments ( clang).
Module: wine Branch: master Commit: 1c98bc14c95ccd6bbf25be08c3d4ffdae1685e2e URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c98bc14c95ccd6bbf25be08c3... Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Jan 30 23:11:03 2017 +0100 shell32: Remove dead assignments (clang). Signed-off-by: André Hentschel <nerv(a)dawncrow.de> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/shell32/shlexec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c index 6aa3eec..474a1bc 100644 --- a/dlls/shell32/shlexec.c +++ b/dlls/shell32/shlexec.c @@ -1720,7 +1720,6 @@ static BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc ) } HeapFree(GetProcessHeap(), 0, wszApplicationName); - dwApplicationNameLen = lstrlenW(buf) + 1; wszApplicationName = buf; sei_tmp.lpFile = wszApplicationName; } @@ -1734,7 +1733,6 @@ static BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc ) ExpandEnvironmentStringsW(sei_tmp.lpFile, buf, len + 1); HeapFree(GetProcessHeap(), 0, wszApplicationName); - dwApplicationNameLen = len + 1; wszApplicationName = buf; sei_tmp.lpFile = wszApplicationName;
participants (1)
-
Alexandre Julliard