summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index ea0bdf7b..ef908f59 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1265,6 +1265,7 @@ bool value_t::is_realzero() const
default:
throw_(value_error, "Cannot determine if " << label() << " is really zero");
}
+ return false;
}
bool value_t::is_zero() const
@@ -1295,6 +1296,7 @@ bool value_t::is_zero() const
default:
throw_(value_error, "Cannot determine if " << label() << " is zero");
}
+ return false;
}
value_t value_t::value(const optional<datetime_t>& moment) const