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/commodity.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/commodity.h') diff --git a/src/commodity.h b/src/commodity.h index 9522bb43..92bacb25 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -97,9 +97,7 @@ public: bool remove_price(const datetime_t& date); optional - find_price(const commodity_t& source, - const optional& commodity, - const optional& moment = none, + find_price(const optional& moment = none, const optional& oldest = none #if defined(DEBUG_ON) , const int indent = 0 @@ -218,10 +216,10 @@ public: virtual const commodity_t& referent() const { return *this; } - virtual commodity_t& strip_annotations(const keep_details_t& what_to_keep) { + virtual commodity_t& strip_annotations(const keep_details_t&) { return *this; } - virtual void write_annotations(std::ostream& out) const {} + virtual void write_annotations(std::ostream&) const {} commodity_pool_t& parent() const { return *parent_; -- cgit v1.2.3