From ca7d3a7f3d7f2f689206681e2ca74184be97e56f Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 13 Jun 2011 20:26:57 +0000 Subject: QPID-3284 - There was a fix missing in one of the test files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1135259 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/BrokerMgmtAgent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/src/tests') diff --git a/cpp/src/tests/BrokerMgmtAgent.cpp b/cpp/src/tests/BrokerMgmtAgent.cpp index d0c6668b72..1d5289dc90 100644 --- a/cpp/src/tests/BrokerMgmtAgent.cpp +++ b/cpp/src/tests/BrokerMgmtAgent.cpp @@ -599,13 +599,12 @@ namespace qpid { // populate the agent with multiple test objects const size_t objCount = 50; std::vector 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); } -- cgit v1.2.1