summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-19 02:06:45 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-19 02:14:27 -0500
commitdb35e5c8fccf965c7383bebcfca8f7c3ad681d3b (patch)
tree945181016d58b48b2de6d60bf04a87cd39d6b18c /src/amount.cc
parent0ab56f5d85ca20005e60eeafc2a7a2ce169689ee (diff)
downloadfork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.gz
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.bz2
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.zip
Resolve new compiler warnings from Clang
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amount.cc b/src/amount.cc
index 55cbabeb..4fe73546 100644
--- a/src/amount.cc
+++ b/src/amount.cc
@@ -1107,9 +1107,11 @@ bool amount_t::parse(std::istream& in, const parse_flags_t& flags)
bool decimal_comma_style
= (commodity_t::decimal_comma_by_default ||
commodity().has_flags(COMMODITY_STYLE_DECIMAL_COMMA));
+#if 0
bool time_colon_style
= (commodity_t::time_colon_by_default ||
commodity().has_flags(COMMODITY_STYLE_TIME_COLON));
+#endif
new_quantity->prec = 0;