activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1327685 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
Date Wed, 18 Apr 2012 21:12:36 GMT
Author: tabish
Date: Wed Apr 18 21:12:36 2012
New Revision: 1327685

URL: http://svn.apache.org/viewvc?rev=1327685&view=rev
Log:
silence a compiler warning. 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h?rev=1327685&r1=1327684&r2=1327685&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
Wed Apr 18 21:12:36 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