Commit 68d76db6 authored by Ricardo Filipe's avatar Ricardo Filipe Committed by Alexandre Julliard

ntdll: Fixed dead store (llvm/clang).

parent 50c2cafe
......@@ -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
{
......
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