Results 1 to 4 of 4

Thread: Trivial correction

  1. #1
    stephan is offline Registered User
    Name: Stephan Stapel
    Organization: Stephan Stapel
    Project: BristolNG
    Join Date
    Oct 2003
    Location
    Essen, Germany
    Posts
    172

    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

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    What compiler are you seeing this warning with? I don't recall a warning from any of the compilers we use...

    Cheers,

    Michi.

  3. #3
    stephan is offline Registered User
    Name: Stephan Stapel
    Organization: Stephan Stapel
    Project: BristolNG
    Join Date
    Oct 2003
    Location
    Essen, Germany
    Posts
    172
    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

  4. #4
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. A trivial problem
    By OrNot in forum Help Center
    Replies: 8
    Last Post: 08-25-2005, 03:31 AM
  2. Freeze backup demo comment/correction
    By debrm in forum Bug Reports
    Replies: 2
    Last Post: 06-10-2005, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •