From 075cfeb4cb4d3114c9ec10a2b1b8681c6f04f8c7 Mon Sep 17 00:00:00 2001
From: Guenter Obiltschnig <guenter.obiltschnig@appinf.com>
Date: Mon, 26 Sep 2016 18:12:56 +0200
Subject: [PATCH] fix uninitialized member in ctor

---
 JSON/src/Template.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/JSON/src/Template.cpp b/JSON/src/Template.cpp
index 862a7783a..4effd54e2 100644
--- a/JSON/src/Template.cpp
+++ b/JSON/src/Template.cpp
@@ -350,14 +350,16 @@ private:
 
 
 Template::Template(const Path& templatePath)
-	: _parts(NULL)
+	: _parts(0)
+	, _currentPart(0)
 	, _templatePath(templatePath)
 {
 }
 
 
 Template::Template()
-	: _parts(NULL)
+	: _parts(0)
+	, _currentPart(0)
 {
 }