summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohann Klähn <kljohann@gmail.com>2014-02-01 19:41:20 +0100
committerJohann Klähn <kljohann@gmail.com>2014-02-01 19:41:20 +0100
commite0ee1eb8108e8cfe27254514d5b4e023721ed18f (patch)
tree834272fd8e849b561fd3d265c31ee4424ea37189 /src
parentb98662e7136d5cf980f39e006ec99fffcdce58aa (diff)
downloadfork-ledger-e0ee1eb8108e8cfe27254514d5b4e023721ed18f.tar.gz
fork-ledger-e0ee1eb8108e8cfe27254514d5b4e023721ed18f.tar.bz2
fork-ledger-e0ee1eb8108e8cfe27254514d5b4e023721ed18f.zip
initialize member variables of posts_to_org_table
This fixes test/baseline/cmd-org.test when built with clang.
Diffstat (limited to 'src')
-rw-r--r--src/org.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org.cc b/src/org.cc
index 736260e6..836042d5 100644
--- a/src/org.cc
+++ b/src/org.cc
@@ -43,7 +43,8 @@ namespace ledger {
posts_to_org_table::posts_to_org_table(report_t& _report,
const optional<string>& _prepend_format)
- : report(_report), last_xact(NULL), last_post(NULL)
+ : report(_report), last_xact(NULL), last_post(NULL),
+ header_printed(false), first_report_title(true)
{
first_line_format.parse_format
("|%(format_date(date))"