mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't shadow variables.
This commit is contained in:
parent
dbf4de0694
commit
a14a6fa8fb
@ -290,10 +290,10 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
|||||||
ptr->frames.reserve_and_use( fsz );
|
ptr->frames.reserve_and_use( fsz );
|
||||||
if( ptr->continuous )
|
if( ptr->continuous )
|
||||||
{
|
{
|
||||||
for( uint64_t i=0; i<fsz; i++ )
|
for( uint64_t j=0; j<fsz; j++ )
|
||||||
{
|
{
|
||||||
f.Read( &ptr->frames[i].start, sizeof( int64_t ) );
|
f.Read( &ptr->frames[j].start, sizeof( int64_t ) );
|
||||||
ptr->frames[i].end = -1;
|
ptr->frames[j].end = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user