diff --git a/src/ripple/overlay/impl/OverlayImpl.cpp b/src/ripple/overlay/impl/OverlayImpl.cpp index 4217fc37aa..075f6ac0a2 100644 --- a/src/ripple/overlay/impl/OverlayImpl.cpp +++ b/src/ripple/overlay/impl/OverlayImpl.cpp @@ -387,7 +387,6 @@ OverlayImpl::makeRedirectResponse( msg.insert(boost::beast::http::field::connection, "close"); msg.body() = Json::objectValue; { - auto const result = m_peerFinder->redirect(slot); Json::Value& ips = (msg.body()["peer-ips"] = Json::arrayValue); for (auto const& _ : m_peerFinder->redirect(slot)) ips.append(_.address.to_string());