Merge pull request #517 from mwl4/linux_compilation_fixes

Linux compilation fixes
This commit is contained in:
Bartosz Taudul 2023-01-25 16:08:37 +01:00 committed by GitHub
commit 52b6af88ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -166,7 +166,7 @@ private:
const bool m_active; const bool m_active;
#ifdef TRACY_ON_DEMAND #ifdef TRACY_ON_DEMAND
uint64_t m_connectionId; uint64_t m_connectionId = 0;
#endif #endif
}; };

View File

@ -1265,8 +1265,7 @@ void SysTraceWorker( void* ptr )
type = QueueType::HwSampleBranchMiss; type = QueueType::HwSampleBranchMiss;
break; break;
default: default:
assert( false ); abort();
break;
} }
TracyLfqPrepare( type ); TracyLfqPrepare( type );