mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Assign return value only once.
This commit is contained in:
parent
852fe03cbc
commit
653caf159f
@ -1368,8 +1368,7 @@ Profiler::DequeueStatus Profiler::DequeueSerial()
|
||||
|
||||
bool Profiler::AppendData( const void* data, size_t len )
|
||||
{
|
||||
auto ret = true;
|
||||
ret = NeedDataSize( len );
|
||||
const auto ret = NeedDataSize( len );
|
||||
AppendDataUnsafe( data, len );
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user