summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-17 03:47:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-17 03:47:01 -0400
commit8da86ae078c58390f581ae336a3801fcf8b89d77 (patch)
treeaa8c4c2b6319dc58ebdd2ec6373d758518c48164 /src/commodity.cc
parent752eb99445d078d2549711e714972a617f7d9d31 (diff)
downloadfork-ledger-8da86ae078c58390f581ae336a3801fcf8b89d77.tar.gz
fork-ledger-8da86ae078c58390f581ae336a3801fcf8b89d77.tar.bz2
fork-ledger-8da86ae078c58390f581ae336a3801fcf8b89d77.zip
Removed dead code.
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 939b9375..e57b5eac 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -502,15 +502,6 @@ commodity_t * commodity_pool_t::create(const string& symbol)
DEBUG("amounts.commodities",
"Creating commodity '" << commodity->symbol() << "'");
- // Start out the new commodity with the default commodity's flags
- // and precision, if one has been defined.
-#if 0
- // jww (2007-05-02): This doesn't do anything currently!
- if (default_commodity)
- commodity->drop_flags(COMMODITY_STYLE_THOUSANDS |
- COMMODITY_STYLE_NOMARKET);
-#endif
-
commodity->ident = commodities.size();
commodities.push_back(commodity.get());