diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
commit | d0a664d102bb0886dbaf844b6857749f70702ea3 (patch) | |
tree | 4994ad85c9c743ed13346ba94daea47a389a9bfd /src/commodity.cc | |
parent | 32e2d58d4372f34726b4de59e3b0cdc0540ad474 (diff) | |
download | fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.gz fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.bz2 fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.zip |
Fixed several unused value and param warnings
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index 2dfba880..2ab7612e 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -99,9 +99,7 @@ bool commodity_t::base_t::varied_history_t::remove_price(const datetime_t& date optional<price_point_t> commodity_t::base_t::history_t:: - find_price(const commodity_t& source, - const optional<commodity_t&>& commodity, - const optional<datetime_t>& moment, + find_price(const optional<datetime_t>& moment, const optional<datetime_t>& oldest #if defined(DEBUG_ON) , const int indent @@ -275,7 +273,7 @@ optional<price_point_t> " searching for price via commodity '" << comm << "'"); #endif - point = hist.second.find_price(source, commodity, moment, limit + point = hist.second.find_price(moment, limit #if defined(DEBUG_ON) , indent + 2 #endif |