Ricardo Filipe : ntdll: Fixed dead store (llvm/clang).

Alexandre Julliard julliard at winehq.org
Wed Nov 19 08:34:57 CST 2008


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

Author: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date:   Thu Nov 13 11:06:31 2008 +0000

ntdll: Fixed dead store (llvm/clang).

---

 dlls/ntdll/env.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
index 6110a74..5ac3543 100644
--- a/dlls/ntdll/env.c
+++ b/dlls/ntdll/env.c
@@ -237,7 +237,6 @@ NTSTATUS WINAPI RtlSetEnvironmentVariable(PWSTR* penv, PUNICODE_STRING name,
         RtlDestroyEnvironment(env);
         if (!penv) NtCurrentTeb()->Peb->ProcessParameters->Environment = new_env;
         else *penv = new_env;
-        env = new_env;
     }
     else
     {




More information about the wine-cvs mailing list