From d0a664d102bb0886dbaf844b6857749f70702ea3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 16:55:18 -0400 Subject: Fixed several unused value and param warnings --- src/iterators.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/iterators.cc') 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(); -- cgit v1.2.3