From eb2244de7644d5297b8e51fd09eb544370094362 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Mon, 1 Oct 2012 13:22:21 -0700 Subject: [PATCH] Get rid of compiler warning. --- src/RPCServer.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/RPCServer.cpp b/src/RPCServer.cpp index ee3fb06204..8936231c2c 100644 --- a/src/RPCServer.cpp +++ b/src/RPCServer.cpp @@ -355,7 +355,9 @@ Json::Value RPCServer::authorize(const uint256& uLedger, } else { + Log(lsINFO) << "authorize: before: fee=" << saFee.getFullText() << " balance=" << saSrcBalance.getFullText(); saSrcBalance -= saFee; + Log(lsINFO) << "authorize: after: fee=" << saFee.getFullText() << " balance=" << saSrcBalance.getFullText(); } Json::Value obj; @@ -1778,14 +1780,15 @@ Json::Value RPCServer::doSend(const Json::Value& params) STPathSet spsPaths; uint160 srcCurrencyID; - bool ret_b; - ret_b = false; +// bool ret_b; +// ret_b = false; if (!saSrcAmountMax.isNative() || !saDstAmount.isNative()) { STAmount::currencyFromString(srcCurrencyID, sSrcCurrency); Pathfinder pf(naSrcAccountID, naDstAccountID, srcCurrencyID, saDstAmount); - ret_b = pf.findPaths(5, 1, spsPaths); +// ret_b = pf.findPaths(5, 1, spsPaths); + pf.findPaths(5, 1, spsPaths); } trans = Transaction::sharedPayment(