Avoid warning about variable being unused (C11)
This commit is contained in:
1 parent
ba531774a0
commit
baddcc3855
1 file changed
+2
@@ -96,6 +96,8 @@ static inline void m_thread_join(m_thread_t t)
|
|||||||
{
|
{
|
||||||
int rc = thrd_join(*t, NULL);
|
int rc = thrd_join(*t, NULL);
|
||||||
assert (rc == thrd_success);
|
assert (rc == thrd_success);
|
||||||
|
// Avoid warning about variable unused.
|
||||||
|
(void) rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void m_thread_yield(void)
|
static inline void m_thread_yield(void)
|
||||||
|
|||||||
Reference in new issue
Block a user