Failing build on opensolaris

From: Kinkie <gkinkie_at_gmail.com>
Date: Wed, 27 Oct 2010 20:29:33 +0200

The build is failing on

../../src/comm.cc: In member function `void
ClientInfo::setWriteLimiter(int, double, double)':
../../src/comm.cc:2156: warning: right-hand operand of comma has no effect

That line is
        cbdataReference(quotaQueue);

where in cbdata.h
#define cbdataReference(var) (cbdataInternalLock(var), var)

Fixing this would seem simple, but it probably breaks encapsulation
(that "Internal" soeems suspicious to me).
Anyone willing to take on this, or to share a hint on how to do it?

-- 
    /kinkie
Received on Wed Oct 27 2010 - 18:29:40 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 29 2010 - 12:00:06 MDT