Remove redundant check.

There is already check for zoneFree being non-nullptr, so it makes no sense
to check zoneAlloc for that again, if it has to match zoneFree.
This commit is contained in:
Bartosz Taudul 2023-04-25 00:04:59 +02:00
parent c8c6646f52
commit 3811c8ace4
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -638,7 +638,7 @@ void View::DrawMemoryAllocWindow()
}
ZoneTooltip( *zoneFree );
}
if( zoneAlloc != 0 && zoneAlloc == zoneFree )
if( zoneAlloc == zoneFree )
{
ImGui::SameLine();
TextDisabledUnformatted( "(same zone)" );