[reSIProcate] BaseUsage.hxx: onReadyToSend generates an unusedvariable warning
Scott Godin
slgodin at icescape.com
Tue Nov 1 12:46:13 CST 2005
Fixed!
________________________________
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of Alan
Stokes
Sent: Tuesday, November 01, 2005 12:53 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] BaseUsage.hxx: onReadyToSend generates an
unusedvariable warning
BaseUsage.hxx recently acquired this line:
virtual void onReadyToSend(SipMessage& msg) {}
However, that means when I build my code that uses this header (with
MSVC 7.1) I get an unused variable warning for msg. And since I compile
with warnings as errors, it breaks my build.
This is the only place where this occurs in the headers. I think it's
common in the .cxx files, but that isn't an issue; I use resiprocate's
policy warning level when building resiprocate. But I'd like to be able
to use my policy when building my code.
Would it be possible to change it to:
virtual void onReadyToSend(SipMessage&) {}
- Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051101/2a2ba428/attachment.htm>
More information about the resiprocate-devel
mailing list