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)
 {
 }