diff --git a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp index c38b10cb1..2d6a36a31 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp +++ b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp @@ -274,7 +274,6 @@ void InboundLedgers::clearFailures () Json::Value InboundLedgers::getInfo() { Json::Value ret(Json::objectValue); - boost::mutex::scoped_lock sl (mLock); typedef std::pair u256_acq_pair; std::vector acquires; @@ -282,7 +281,7 @@ Json::Value InboundLedgers::getInfo() boost::mutex::scoped_lock sl (mLock); acquires.reserve (mLedgers.size ()); - BOOST_FOREACH (const u256_acq_pair & it, mLedgers) + BOOST_FOREACH (const u256_acq_pair & it, mLedgers) acquires.push_back (it); }