View Single Post
  #1 (permalink)  
Old 10-19-2004
stephan stephan is offline
Registered User
 
Name: Stephan Stapel
Organization: Stephan Stapel
Project: BristolNG
 
Join Date: Oct 2003
Location: Essen, Germany
Posts: 169
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
Reply With Quote