diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc index 16d114ca..09b43cbf 100644 --- a/src/value.cc +++ b/src/value.cc @@ -185,6 +185,8 @@ void value_t::_dup() value_t::operator bool() const { switch (type()) { + case VOID: + return false; case BOOLEAN: return as_boolean(); case DATETIME: |