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 2013/10/15 00:45:19 UTC

git commit: remove unused local var

Updated Branches:
  refs/heads/trunk ba624ea97 -> 95088394f


remove unused local var

Project: http://git-wip-us.apache.org/repos/asf/activemq-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-cpp/commit/95088394
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/95088394
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/95088394

Branch: refs/heads/trunk
Commit: 95088394f8dd5d75f3016d7671bf5a7aaa4b36ca
Parents: ba624ea
Author: Timothy Bish <ta...@gmai.com>
Authored: Mon Oct 14 18:45:16 2013 -0400
Committer: Timothy Bish <ta...@gmai.com>
Committed: Mon Oct 14 18:45:16 2013 -0400

----------------------------------------------------------------------
 activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/95088394/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp b/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
index 19072b5..ce30892 100644
--- a/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
+++ b/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
@@ -1196,8 +1196,6 @@ void ActiveMQConnection::onClientInternalException(const decaf::lang::Exception&
 ////////////////////////////////////////////////////////////////////////////////
 void ActiveMQConnection::transportInterrupted() {
 
-    int consumers = this->config->watchTopicAdvisories ? (int) this->config->dispatchers.size() - 1 : (int) this->config->dispatchers.size();
-
     this->config->transportInterruptionProcessingComplete->set(0);
 
     this->config->sessionsLock.readLock().lock();