mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Don't copy thread name needlessly.
This commit is contained in:
parent
780e838785
commit
56bd01dfd1
@ -113,8 +113,7 @@ const char* GetThreadName( uint64_t id )
|
||||
{
|
||||
if( ptr->id == id )
|
||||
{
|
||||
strcpy( buf, ptr->name );
|
||||
return buf;
|
||||
return ptr->name;
|
||||
}
|
||||
ptr = ptr->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user