activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1327694 - /activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
Date Wed, 18 Apr 2012 21:40:10 GMT
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) {
 



Mime
View raw message