=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: shell32: Remove dead assignments ( clang).

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:50 CST 2017


Module: wine
Branch: master
Commit: 1c98bc14c95ccd6bbf25be08c3d4ffdae1685e2e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1c98bc14c95ccd6bbf25be08c3d4ffdae1685e2e

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jan 30 23:11:03 2017 +0100

shell32: Remove dead assignments (clang).

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list