activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r952809 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main: activemq/core/ActiveMQTransactionContext.cpp decaf/net/SocketImpl.cpp
Date Tue, 08 Jun 2010 20:39:10 GMT
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." );



Mime
View raw message