activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r785571 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp
Date Wed, 17 Jun 2009 12:26:18 GMT
Author: tabish
Date: Wed Jun 17 12:26:17 2009
New Revision: 785571

URL: http://svn.apache.org/viewvc?rev=785571&view=rev
Log:
Fix for: https://issues.apache.org/activemq/browse/AMQCPP-249

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp?rev=785571&r1=785570&r2=785571&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp Wed
Jun 17 12:26:17 2009
@@ -432,6 +432,9 @@
         throw UnsupportedOperationException(
             __FILE__, __LINE__,
             "createBrowser Method is not yet supported." );
+
+        // Fix for not so intelligent Sun Compiler
+        return NULL;
     }
     AMQ_CATCH_ALL_THROW_CMSEXCEPTION()
 }
@@ -446,6 +449,9 @@
         throw UnsupportedOperationException(
             __FILE__, __LINE__,
             "createBrowser Method is not yet supported." );
+
+        // Fix for not so intelligent Sun Compiler
+        return NULL;
     }
     AMQ_CATCH_ALL_THROW_CMSEXCEPTION()
 }



Mime
View raw message