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 2012/04/18 23:40:10 UTC

svn commit: r1327694 - /activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h

Author: tabish
Date: Wed Apr 18 21:40:09 2012
New Revision: 1327694

URL: http://svn.apache.org/viewvc?rev=1327694&view=rev
Log:
fix a warning

Modified:
    activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h

Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h?rev=1327694&r1=1327693&r2=1327694&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h (original)
+++ activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h Wed Apr 18 21:40:09 2012
@@ -337,7 +337,7 @@ namespace concurrent {
         }
 
         virtual E take() {
-            E value;
+            E value = E();
             int c = -1;
             synchronized(&this->takeLock) {