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:
parent
45553a97b0
commit
244c15fe7b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue