Hi,

On Boost 1.45 I get a warning message in the condition_variable.hpp

    inline void condition_variable::wait(unique_lock<mutex>& m)
    {
        thread_cv_detail::lock_on_exit<unique_lock<mutex> > guard;
        detail::interruption_checker check_for_interruption(&internal_mutex,&cond);
        guard.activate(m);
        int const res=pthread_cond_wait(&cond,&internal_mutex);
        BOOST_ASSERT(!res);
        this_thread::interruption_point();
    }

the res variable isn't used (I compile the code with -O2 option)

Have a nice day

Phil