commit | ca1d552477f575c8b8ef0a5a3ef6ee0bd1c50c45 | [log] [tgz] |
---|---|---|
author | Timothy A. Bish <tabish@apache.org> | Wed Apr 18 21:40:09 2012 +0000 |
committer | Timothy A. Bish <tabish@apache.org> | Wed Apr 18 21:40:09 2012 +0000 |
tree | 9ec419c7eaec8db99f03d6d8bfe5c47b6a5fe6c7 | |
parent | 394769bede55e20b75158a553a466cc990a1acd6 [diff] |
fix a warning git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.4.x@1327694 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h b/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h index 4d9a7e1..231c4e4 100644 --- a/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h +++ b/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h
@@ -337,7 +337,7 @@ } virtual E take() { - E value; + E value = E(); int c = -1; synchronized(&this->takeLock) {