You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2011/06/13 22:26:57 UTC
svn commit: r1135259 - /qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp
Author: tross
Date: Mon Jun 13 20:26:57 2011
New Revision: 1135259
URL: http://svn.apache.org/viewvc?rev=1135259&view=rev
Log:
QPID-3284 - There was a fix missing in one of the test files.
Modified:
qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp
Modified: qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp?rev=1135259&r1=1135258&r2=1135259&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp Mon Jun 13 20:26:57 2011
@@ -599,13 +599,12 @@ namespace qpid {
// populate the agent with multiple test objects
const size_t objCount = 50;
std::vector<TestManageable *> tmv;
- uint32_t objLen;
for (size_t i = 0; i < objCount; i++) {
std::stringstream key;
key << "testobj-" << i;
TestManageable *tm = new TestManageable(agent, key.str());
- objLen = tm->GetManagementObject()->writePropertiesSize();
+ (void) tm->GetManagementObject()->writePropertiesSize();
agent->addObject(tm->GetManagementObject(), key.str());
tmv.push_back(tm);
}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org