From e0ee1eb8108e8cfe27254514d5b4e023721ed18f Mon Sep 17 00:00:00 2001 From: Johann Klähn Date: Sat, 1 Feb 2014 19:41:20 +0100 Subject: initialize member variables of posts_to_org_table This fixes test/baseline/cmd-org.test when built with clang. --- src/org.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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& _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))" -- cgit v1.2.3