Go Back   ZeroC Forums > Patches

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #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
  #2 (permalink)  
Old 10-19-2004
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 889
What compiler are you seeing this warning with? I don't recall a warning from any of the compilers we use...

Cheers,

Michi.
Reply With Quote
  #3 (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
Quote:
What compiler are you seeing this warning with? I don't recall a warning from any of the compilers we use...
The compiler is VS7.1 with /W3. But nothing to worry about

Stephan
Reply With Quote
  #4 (permalink)  
Old 10-19-2004
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 889
Quote:
Originally posted by stephan
The compiler is VS7.1 with /W3.
I don't recall ever having seen a warning with that. I'll check and fix it, if need be.

Cheers,

Michi.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
A trivial problem OrNot Help Center 8 08-25-2005 03:31 AM
Freeze backup demo comment/correction debrm Bug Reports 2 06-10-2005 10:23 AM


All times are GMT -4. The time now is 11:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.