Skip to content

Commit

Permalink
Fix warning on clang due to possibly uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JJL772 committed May 6, 2024
1 parent a231f4e commit e30ebbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/client/TracySysTrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ void SysTraceWorker( void* ptr )
#if defined TRACY_HW_TIMER && ( defined __i386 || defined _M_IX86 || defined __x86_64__ || defined _M_X64 )
t0 = ring.ConvertTimeToTsc( t0 );
#endif
QueueType type;
QueueType type {};
switch( id )
{
case EventCpuCycles:
Expand Down

0 comments on commit e30ebbb

Please sign in to comment.