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 2009/06/17 14:26:18 UTC

svn commit: r785571 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQSession.cpp

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()
 }