diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/value.cc b/src/value.cc index 09b43cbf..5a0c7e70 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1332,8 +1332,6 @@ value_t value_t::value(const optional<datetime_t>& moment) const void value_t::in_place_reduce() { switch (type()) { - case INTEGER: - return; case AMOUNT: as_amount_lval().in_place_reduce(); return; @@ -1344,10 +1342,10 @@ void value_t::in_place_reduce() as_balance_pair_lval().in_place_reduce(); return; default: - break; + return; } - throw_(value_error, "Cannot reduce " << label()); + //throw_(value_error, "Cannot reduce " << label()); } value_t value_t::abs() const |