summaryrefslogtreecommitdiff
path: root/src/report.cc
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/report.cc
parent8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc (diff)
downloadfork-ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.tar.gz
fork-ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.tar.bz2
fork-ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.zip
Corrected problem with uninitialized value_t's.
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 04ed2471..2dd881e2 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -79,6 +79,8 @@ value_t report_t::ftime(xml::xpath_t::scope_t * locals)
date_format = moment_t::output_format;
return value_t(date.as_string(date_format), true);
+#else
+ return NULL_VALUE;
#endif
}