Avoid warning about variable being unused (C11)

This commit is contained in:
Patrick Pelissier committed 2019-11-23 23:28:36 +01:00
1 parent ba531774a0
commit baddcc3855
1 file changed
+2
+2
View File
@@ -96,6 +96,8 @@ static inline void m_thread_join(m_thread_t t)
{
int rc = thrd_join(*t, NULL);
assert (rc == thrd_success);
// Avoid warning about variable unused.
(void) rc;
}
static inline void m_thread_yield(void)