ntdll: Remove redundant not-NULL check (coccinellery).

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-02-21 20:35:38 +01:00 committed by Alexandre Julliard
parent 45553a97b0
commit 244c15fe7b
1 changed files with 1 additions and 1 deletions

View File

@ -2712,7 +2712,7 @@ NTSTATUS WINAPI NtProtectVirtualMemory( HANDLE process, PVOID *addr_ptr, SIZE_T
{
*addr_ptr = wine_server_get_ptr( result.virtual_protect.addr );
*size_ptr = result.virtual_protect.size;
if (old_prot) *old_prot = result.virtual_protect.prot;
*old_prot = result.virtual_protect.prot;
}
return result.virtual_protect.status;
}