From 8887fe9fa9bf8273573b4bc03d221b7b103cee75 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 10 Feb 2012 20:08:31 -1000 Subject: Removed unneeded break statements --- src/value.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/value.cc') diff --git a/src/value.cc b/src/value.cc index 89a0d6d3..b306581d 100644 --- a/src/value.cc +++ b/src/value.cc @@ -404,7 +404,6 @@ value_t& value_t::operator+=(const value_t& val) as_amount_lval() += val.as_long(); return *this; } - break; case AMOUNT: if (as_amount().commodity() != val.as_amount().commodity()) { @@ -414,7 +413,6 @@ value_t& value_t::operator+=(const value_t& val) as_amount_lval() += val.as_amount(); return *this; } - break; case BALANCE: in_place_cast(BALANCE); @@ -539,7 +537,6 @@ value_t& value_t::operator-=(const value_t& val) in_place_simplify(); return *this; } - break; case AMOUNT: if (as_amount().commodity() != val.as_amount().commodity()) { @@ -552,7 +549,6 @@ value_t& value_t::operator-=(const value_t& val) in_place_simplify(); return *this; } - break; case BALANCE: in_place_cast(BALANCE); @@ -944,7 +940,6 @@ bool value_t::is_less_than(const value_t& val) const return true; else return false; - break; } default: break; @@ -1061,7 +1056,6 @@ bool value_t::is_greater_than(const value_t& val) const return false; else return true; - break; } default: break; -- cgit v1.2.3