Author: tabish
Date: Mon Apr 11 23:12:20 2011
New Revision: 1091252
URL: http://svn.apache.org/viewvc?rev=1091252&view=rev
Log:
Fix a couple of compiler warnings.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/Scheduler.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransportFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ServiceStopper.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/Scheduler.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/Scheduler.cpp?rev=1091252&r1=1091251&r2=1091252&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/Scheduler.cpp
(original)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/threads/Scheduler.cpp
Mon Apr 11 23:12:20 2011
@@ -132,7 +132,7 @@ void Scheduler::doStart() {
}
////////////////////////////////////////////////////////////////////////////////
-void Scheduler::doStop(ServiceStopper* stopper) {
+void Scheduler::doStop(ServiceStopper* stopper AMQCPP_UNUSED) {
synchronized(&mutex) {
if(this->timer != NULL) {
this->timer->cancel();
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransportFactory.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransportFactory.cpp?rev=1091252&r1=1091251&r2=1091252&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransportFactory.cpp
(original)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/FailoverTransportFactory.cpp
Mon Apr 11 23:12:20 2011
@@ -75,7 +75,7 @@ Pointer<Transport> FailoverTransportFact
////////////////////////////////////////////////////////////////////////////////
Pointer<Transport> FailoverTransportFactory::doCreateComposite(
const decaf::net::URI& location,
- const decaf::util::Properties& properties ) {
+ const decaf::util::Properties& properties AMQCPP_UNUSED ) {
try {
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ServiceStopper.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ServiceStopper.cpp?rev=1091252&r1=1091251&r2=1091252&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ServiceStopper.cpp
(original)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ServiceStopper.cpp
Mon Apr 11 23:12:20 2011
@@ -62,7 +62,7 @@ void ServiceStopper::throwFirstException
}
////////////////////////////////////////////////////////////////////////////////
-void ServiceStopper::onException(Service* service, Exception& ex) {
+void ServiceStopper::onException(Service* service AMQCPP_UNUSED, Exception&
ex) {
if(!this->hasException) {
this->firstException = ex;
this->hasException = true;
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp?rev=1091252&r1=1091251&r2=1091252&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
(original)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
Mon Apr 11 23:12:20 2011
@@ -288,7 +288,7 @@ Pointer<Command> StompWireFormat::unmars
}
////////////////////////////////////////////////////////////////////////////////
-Pointer<Command> StompWireFormat::unmarshalConnected( const
Pointer<StompFrame>& frame ) {
+Pointer<Command> StompWireFormat::unmarshalConnected( const
Pointer<StompFrame>& frame AMQCPP_UNUSED ) {
Pointer<Response> response( new Response() );