ntdll: Remove redundant WARN_ON(heap) check.

This commit is contained in:
Jinoh Kang 2023-01-02 20:07:13 +09:00 committed by Alexandre Julliard
parent af557f0cbc
commit f9ab9292e7

View file

@ -1136,7 +1136,7 @@ static BOOL heap_validate_ptr( const struct heap *heap, const void *ptr )
{
if (!find_large_block( heap, block ))
{
if (WARN_ON(heap)) WARN("heap %p, ptr %p: block region not found\n", heap, ptr );
WARN("heap %p, ptr %p: block region not found\n", heap, ptr );
return FALSE;
}