mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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 );
|
ZoneTooltip( *zoneFree );
|
||||||
}
|
}
|
||||||
if( zoneAlloc != 0 && zoneAlloc == zoneFree )
|
if( zoneAlloc == zoneFree )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
TextDisabledUnformatted( "(same zone)" );
|
TextDisabledUnformatted( "(same zone)" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user