activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r594162 - in /activemq/activemq-cpp/trunk/src: examples/producers/SimpleProducer.cpp main/activemq/transport/filters/AsyncSendTransport.cpp
Date Mon, 12 Nov 2007 14:51:24 GMT
Author: tabish
Date: Mon Nov 12 06:51:23 2007
New Revision: 594162

URL: http://svn.apache.org/viewvc?rev=594162&view=rev
Log:
Fixed a few stray compiler warnings

Modified:
    activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp
    activemq/activemq-cpp/trunk/src/main/activemq/transport/filters/AsyncSendTransport.cpp

Modified: activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp?rev=594162&r1=594161&r2=594162&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp (original)
+++ activemq/activemq-cpp/trunk/src/examples/producers/SimpleProducer.cpp Mon Nov 12 06:51:23
2007
@@ -114,7 +114,7 @@
             // Create a messages
             string text = (string)"Hello world! from thread " + threadIdStr;
 
-            for( int ix=0; ix<numMessages; ++ix ){
+            for( unsigned int ix=0; ix<numMessages; ++ix ){
                 TextMessage* message = session->createTextMessage( text );
 
                 message->setIntProperty( "Integer", ix );

Modified: activemq/activemq-cpp/trunk/src/main/activemq/transport/filters/AsyncSendTransport.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/transport/filters/AsyncSendTransport.cpp?rev=594162&r1=594161&r2=594162&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/transport/filters/AsyncSendTransport.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/transport/filters/AsyncSendTransport.cpp
Mon Nov 12 06:51:23 2007
@@ -62,7 +62,6 @@
     AMQ_CATCH_RETHROW( CommandIOException )
     AMQ_CATCH_RETHROW( UnsupportedOperationException )
     AMQ_CATCH_EXCEPTION_CONVERT( Exception, CommandIOException )
-    AMQ_CATCH_EXCEPTION_CONVERT( ActiveMQException, CommandIOException )
     AMQ_CATCHALL_THROW( CommandIOException )
 }
 



Mime
View raw message