From db35e5c8fccf965c7383bebcfca8f7c3ad681d3b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 19 May 2013 02:06:45 -0500 Subject: Resolve new compiler warnings from Clang --- src/amount.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/amount.cc') 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; -- cgit v1.2.3