1
0
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:
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 ); ZoneTooltip( *zoneFree );
} }
if( zoneAlloc != 0 && zoneAlloc == zoneFree ) if( zoneAlloc == zoneFree )
{ {
ImGui::SameLine(); ImGui::SameLine();
TextDisabledUnformatted( "(same zone)" ); TextDisabledUnformatted( "(same zone)" );