mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 21:38:12 +00:00
tracy: Add braces around if statement
Fix a warning about missing braces around an empty statement when TRACY_VERBOSE is not defined Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2373>
This commit is contained in:
parent
6d09f33441
commit
bcd358bf5d
4
src/external/tracy/client/TracySysTrace.cpp
vendored
4
src/external/tracy/client/TracySysTrace.cpp
vendored
|
@ -1133,7 +1133,9 @@ void SysTraceWorker( void* ptr )
|
|||
SetThreadName( "Tracy Sampling" );
|
||||
InitRpmalloc();
|
||||
sched_param sp = { 99 };
|
||||
if( pthread_setschedparam( pthread_self(), SCHED_FIFO, &sp ) != 0 ) TracyDebug( "Failed to increase SysTraceWorker thread priority!\n" );
|
||||
if( pthread_setschedparam( pthread_self(), SCHED_FIFO, &sp ) != 0 ) {
|
||||
TracyDebug( "Failed to increase SysTraceWorker thread priority!\n" );
|
||||
}
|
||||
auto ctxBufferIdx = s_ctxBufferIdx;
|
||||
auto ringArray = s_ring;
|
||||
auto numBuffers = s_numBuffers;
|
||||
|
|
Loading…
Reference in a new issue