Trivial correction
Hi there!
As my compiler warnings always take some nerve, would you like to add a little trivial line to Mutex::unlock() ?
inline void
Mutex::unlock(LockState& state) const
{
(void)state; // <<
this line
LeaveCriticalSection(&_mutex);
}

thanks,
Stephan
As my compiler warnings always take some nerve, would you like to add a little trivial line to Mutex::unlock() ?
inline void
Mutex::unlock(LockState& state) const
{
(void)state; // <<
this line
LeaveCriticalSection(&_mutex);
}

thanks,
Stephan
0
Comments
Cheers,
Michi.
The compiler is VS7.1 with /W3. But nothing to worry about
Stephan
I don't recall ever having seen a warning with that. I'll check and fix it, if need be.
Cheers,
Michi.