Removed warnings of unused variable in btThreads header

This commit is contained in:
Alexis Breust
2018-01-25 16:37:30 +01:00
parent bdd19d619c
commit c1b5024aea

View File

@@ -72,6 +72,8 @@ SIMD_FORCE_INLINE void btMutexLock( btSpinMutex* mutex )
{
#if BT_THREADSAFE
mutex->lock();
#else
(void)mutex;
#endif // #if BT_THREADSAFE
}
@@ -79,6 +81,8 @@ SIMD_FORCE_INLINE void btMutexUnlock( btSpinMutex* mutex )
{
#if BT_THREADSAFE
mutex->unlock();
#else
(void)mutex;
#endif // #if BT_THREADSAFE
}
@@ -87,6 +91,7 @@ SIMD_FORCE_INLINE bool btMutexTryLock( btSpinMutex* mutex )
#if BT_THREADSAFE
return mutex->tryLock();
#else
(void)mutex;
return true;
#endif // #if BT_THREADSAFE
}