Corrected a harmless warning.

This commit is contained in:
John Wiegley 2008-09-19 06:55:07 -04:00
parent a3a65c3a73
commit 43ba0bb038

View file

@ -1265,6 +1265,7 @@ bool value_t::is_realzero() const
default: default:
throw_(value_error, "Cannot determine if " << label() << " is really zero"); throw_(value_error, "Cannot determine if " << label() << " is really zero");
} }
return false;
} }
bool value_t::is_zero() const bool value_t::is_zero() const
@ -1295,6 +1296,7 @@ bool value_t::is_zero() const
default: default:
throw_(value_error, "Cannot determine if " << label() << " is zero"); throw_(value_error, "Cannot determine if " << label() << " is zero");
} }
return false;
} }
value_t value_t::value(const optional<datetime_t>& moment) const value_t value_t::value(const optional<datetime_t>& moment) const