From 1ecc9b0cc0c4e7ad2b03236a788cf875189f1832 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 22 Jun 2015 06:42:02 -0700 Subject: Address uninitialized member warnings Signed-off-by: Dirk Hohndel --- templatelayout.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'templatelayout.cpp') diff --git a/templatelayout.cpp b/templatelayout.cpp index 39bb014d6..880b6d774 100644 --- a/templatelayout.cpp +++ b/templatelayout.cpp @@ -16,7 +16,8 @@ int getTotalWork() return dives; } -TemplateLayout::TemplateLayout(print_options *PrintOptions) +TemplateLayout::TemplateLayout(print_options *PrintOptions) : + m_engine(NULL) { this->PrintOptions = PrintOptions; } @@ -80,7 +81,9 @@ QString TemplateLayout::generate() return htmlContent; } -Dive::Dive() +Dive::Dive() : + m_number(-1), + dive(NULL) { } -- cgit v1.2.3-70-g09d2