mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
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:
parent
c8c6646f52
commit
3811c8ace4
@ -638,7 +638,7 @@ void View::DrawMemoryAllocWindow()
|
||||
}
|
||||
ZoneTooltip( *zoneFree );
|
||||
}
|
||||
if( zoneAlloc != 0 && zoneAlloc == zoneFree )
|
||||
if( zoneAlloc == zoneFree )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
TextDisabledUnformatted( "(same zone)" );
|
||||
|
Loading…
Reference in New Issue
Block a user