summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 05:38:01 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:52 -0400
commit8cdc8008c36bd03e44e43aef3fc84ff20df7bd34 (patch)
treeb4efb59a6c41d22cbc7e651f8ce215e38e95bfc4 /src/node.h
parent8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc (diff)
downloadledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.tar.gz
ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.tar.bz2
ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.zip
Corrected problem with uninitialized value_t's.
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index d394e7ee..2a137e86 100644
--- a/src/node.h
+++ b/src/node.h
@@ -232,6 +232,7 @@ public:
virtual value_t to_value() const {
throw_(std::logic_error, "Cannot convert parent node to a value");
+ return NULL_VALUE;
}
void print(std::ostream& out) const;