mirror of
https://github.com/wolfpld/tracy.git
synced 2026-07-30 18:09:13 +00:00
Don't copy thread name needlessly.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user