shell32: Remove dead assignments (clang)

André Hentschel nerv at dawncrow.de
Mon Jan 30 16:11:03 CST 2017


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





More information about the wine-patches mailing list