You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/06/08 22:39:10 UTC
svn commit: r952809 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main:
activemq/core/ActiveMQTransactionContext.cpp decaf/net/SocketImpl.cpp
Author: tabish
Date: Tue Jun 8 20:39:10 2010
New Revision: 952809
URL: http://svn.apache.org/viewvc?rev=952809&view=rev
Log:
Fix a couple compiler warnings
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.cpp
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp?rev=952809&r1=952808&r2=952809&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp Tue Jun 8 20:39:10 2010
@@ -39,7 +39,7 @@ using namespace decaf::util::concurrent;
////////////////////////////////////////////////////////////////////////////////
ActiveMQTransactionContext::ActiveMQTransactionContext( ActiveMQSession* session,
- const Properties& properties ) {
+ const Properties& properties AMQCPP_UNUSED) {
try {
if( session == NULL ) {
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.cpp?rev=952809&r1=952808&r2=952809&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.cpp Tue Jun 8 20:39:10 2010
@@ -41,7 +41,7 @@ std::string SocketImpl::toString() const
}
////////////////////////////////////////////////////////////////////////////////
-void SocketImpl::sendUrgentData( int data ) throw( decaf::io::IOException ) {
+void SocketImpl::sendUrgentData( int data DECAF_UNUSED ) throw( decaf::io::IOException ) {
throw decaf::io::IOException(
__FILE__, __LINE__, "Urgent Data not supported by this implementation." );