From c9f91dd92975953e80335f1ea966aa425c2f5edb Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Tue, 21 Jun 2011 23:02:06 +0000 Subject: [PATCH] More missing constructor initializers found by Coverity. --- src/lib_json/json_writer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib_json/json_writer.cpp b/src/lib_json/json_writer.cpp index 1bda183..d307222 100644 --- a/src/lib_json/json_writer.cpp +++ b/src/lib_json/json_writer.cpp @@ -1,4 +1,4 @@ -// Copyright 2007-2010 Baptiste Lepilleur +// Copyright 2011 Baptiste Lepilleur // Distributed under MIT license, or public domain if desired and // recognized in your jurisdiction. // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE @@ -278,6 +278,7 @@ FastWriter::writeValue( const Value &value ) StyledWriter::StyledWriter() : rightMargin_( 74 ) , indentSize_( 3 ) + , addChildValues_() { } @@ -554,6 +555,7 @@ StyledStreamWriter::StyledStreamWriter( std::string indentation ) : document_(NULL) , rightMargin_( 74 ) , indentation_( indentation ) + , addChildValues_() { }