summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-31 04:50:07 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-31 04:50:07 -0400
commit3909d2678ede154f9a7fe19617973d4daa173c47 (patch)
treeb8d85010bae44f1f4c7020d68e8b840b81da354f /src/commodity.cc
parent97a9b42b2c5ef908e0c47ecfd39771a79f8fa8a2 (diff)
downloadfork-ledger-3909d2678ede154f9a7fe19617973d4daa173c47.tar.gz
fork-ledger-3909d2678ede154f9a7fe19617973d4daa173c47.tar.bz2
fork-ledger-3909d2678ede154f9a7fe19617973d4daa173c47.zip
Removed most #if 0 blocks and callout comments
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 54cb02d6..de529ac4 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -360,12 +360,6 @@ optional<commodity_t::base_t::history_t&>
if (! commodity) {
if (histories.size() > 1)
return none;
-#if 0
- // jww (2008-09-20): Document which option switch to use here
- throw_(commodity_error,
- _("Cannot determine price history: "
- "prices known for multiple commodities (use -x)"));
-#endif
comm = (*histories.begin()).first;
} else {
comm = &(*commodity);