mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
Don't call both a function and a parameter "progress".
This commit is contained in:
@@ -137,7 +137,7 @@ bool InboundLedger::tryLocal ()
|
|||||||
return mComplete;
|
return mComplete;
|
||||||
}
|
}
|
||||||
|
|
||||||
void InboundLedger::onTimer (bool progress, boost::recursive_mutex::scoped_lock&)
|
void InboundLedger::onTimer (bool wasProgress, boost::recursive_mutex::scoped_lock&)
|
||||||
{
|
{
|
||||||
mRecentTXNodes.clear ();
|
mRecentTXNodes.clear ();
|
||||||
mRecentASNodes.clear ();
|
mRecentASNodes.clear ();
|
||||||
@@ -150,7 +150,7 @@ void InboundLedger::onTimer (bool progress, boost::recursive_mutex::scoped_lock&
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!progress)
|
if (!wasProgress)
|
||||||
{
|
{
|
||||||
if (isDone())
|
if (isDone())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user