I was looking llvm clang's implementation of the C++ standard library...
In file mutex.cpp
I found the following code:
void
mutex::unlock() _NOEXCEPT
{
int ec = pthread_mutex_unlock(&__m_);
(void)ec; // What??, Why??? O.o
assert(ec == 0);
}
I don't understand what that expression is doing and why...
I need some explanation.