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.h | |
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.h')
-rw-r--r-- | src/commodity.h | 8 |
1 files changed, 3 insertions, 5 deletions
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<price_point_t> - find_price(const commodity_t& source, - const optional<commodity_t&>& commodity, - const optional<datetime_t>& moment = none, + find_price(const optional<datetime_t>& moment = none, const optional<datetime_t>& 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_; |