summaryrefslogtreecommitdiff
path: root/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'value.cc')
-rw-r--r--value.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/value.cc b/value.cc
index 52d9fd6d..cc75be00 100644
--- a/value.cc
+++ b/value.cc
@@ -1879,6 +1879,9 @@ value_t value_t::value(const datetime_t& moment) const
throw new value_error("Cannot find the value of a pointer");
case SEQUENCE:
throw new value_error("Cannot find the value of a sequence");
+ default:
+ assert(0);
+ return value_t();
}
}