From 9d3e3058bca7a9991dde6c10d65daeaeeedb1603 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 18 Aug 2013 23:27:54 -0700 Subject: [PATCH] Don't call both a function and a parameter "progress". --- modules/ripple_app/ledger/ripple_InboundLedger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ripple_app/ledger/ripple_InboundLedger.cpp b/modules/ripple_app/ledger/ripple_InboundLedger.cpp index 421a629e8..9c61bb7a3 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedger.cpp +++ b/modules/ripple_app/ledger/ripple_InboundLedger.cpp @@ -137,7 +137,7 @@ bool InboundLedger::tryLocal () return mComplete; } -void InboundLedger::onTimer (bool progress, boost::recursive_mutex::scoped_lock&) +void InboundLedger::onTimer (bool wasProgress, boost::recursive_mutex::scoped_lock&) { mRecentTXNodes.clear (); mRecentASNodes.clear (); @@ -150,7 +150,7 @@ void InboundLedger::onTimer (bool progress, boost::recursive_mutex::scoped_lock& return; } - if (!progress) + if (!wasProgress) { if (isDone()) {