Remove warning in release mode.
This commit is contained in:
1 parent
f52a3129a7
commit
749cd43306
1 file changed
+1
@@ -258,6 +258,7 @@ static inline void m_thread_create(m_thread_t t, void (*func)(void*), void *arg)
|
|||||||
static inline void m_thread_join(m_thread_t t)
|
static inline void m_thread_join(m_thread_t t)
|
||||||
{
|
{
|
||||||
int _rc = pthread_join(*t, NULL);
|
int _rc = pthread_join(*t, NULL);
|
||||||
|
(void)_rc; // Avoid warning about variable unused.
|
||||||
assert (_rc == 0);
|
assert (_rc == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user