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/iterators.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/iterators.cc')
-rw-r--r-- | src/iterators.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/iterators.cc b/src/iterators.cc index 9b345282..01f678d0 100644 --- a/src/iterators.cc +++ b/src/iterators.cc @@ -96,11 +96,8 @@ void xacts_commodities_iterator::reset(journal_t& journal) foreach (commodity_t::base_t::history_by_commodity_map::value_type pair, history->histories) { - commodity_t& price_comm(*pair.first); - commodity_t::history_t& price_hist(pair.second); - foreach (commodity_t::base_t::history_map::value_type hpair, - price_hist.prices) { + pair.second.prices) { entry_t * entry; string symbol = hpair.second.commodity().symbol(); |