From 48b46a23b183fc576f7e999a166d1e130233032c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 11 May 2007 07:20:49 +0000 Subject: Disabled compiler warnings from icc. --- src/value.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/value.cc') diff --git a/src/value.cc b/src/value.cc index 6623e1a1..63719266 100644 --- a/src/value.cc +++ b/src/value.cc @@ -392,6 +392,7 @@ value_t& value_t::operator+=(const value_t& val) throw_(value_error, "Cannot add " << label() << " to " << val.label()); + return *this; } value_t& value_t::operator-=(const value_t& val) @@ -541,6 +542,7 @@ value_t& value_t::operator-=(const value_t& val) throw_(value_error, "Cannot subtract " << label() << " from " << val.label()); + return *this; } value_t& value_t::operator*=(const value_t& val) @@ -626,6 +628,7 @@ value_t& value_t::operator*=(const value_t& val) throw_(value_error, "Cannot multiply " << label() << " with " << val.label()); + return *this; } value_t& value_t::operator/=(const value_t& val) @@ -695,6 +698,7 @@ value_t& value_t::operator/=(const value_t& val) throw_(value_error, "Cannot divide " << label() << " by " << val.label()); + return *this; } @@ -1228,6 +1232,7 @@ value_t value_t::value(const optional& moment) const } throw_(value_error, "Cannot find the value of " << label()); + return value_t(); } void value_t::in_place_reduce() @@ -1269,6 +1274,7 @@ value_t value_t::round() const } throw_(value_error, "Cannot round " << label()); + return value_t(); } value_t value_t::unround() const -- cgit v1.2.3