ntdll: Fixed dead store (llvm/clang).
This commit is contained in:
parent
50c2cafea9
commit
68d76db6d4
@ -237,7 +237,6 @@ NTSTATUS WINAPI RtlSetEnvironmentVariable(PWSTR* penv, PUNICODE_STRING name,
|
|||||||
RtlDestroyEnvironment(env);
|
RtlDestroyEnvironment(env);
|
||||||
if (!penv) NtCurrentTeb()->Peb->ProcessParameters->Environment = new_env;
|
if (!penv) NtCurrentTeb()->Peb->ProcessParameters->Environment = new_env;
|
||||||
else *penv = new_env;
|
else *penv = new_env;
|
||||||
env = new_env;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user