Skip to content

Commit

Permalink
More missing constructor initializers found by Coverity.
Browse files Browse the repository at this point in the history
git-svn-id: https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk@241 1f120ed1-78a5-a849-adca-83f0a9e25bb6
  • Loading branch information
christopherdunn authored and rjeczalik committed Dec 17, 2012
1 parent 6dc5ccb commit 4dbdcd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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
Expand Down Expand Up @@ -278,6 +278,7 @@ FastWriter::writeValue( const Value &value )
StyledWriter::StyledWriter()
: rightMargin_( 74 )
, indentSize_( 3 )
, addChildValues_()
{
}

Expand Down Expand Up @@ -554,6 +555,7 @@ StyledStreamWriter::StyledStreamWriter( std::string indentation )
: document_(NULL)
, rightMargin_( 74 )
, indentation_( indentation )
, addChildValues_()
{
}

Expand Down

0 comments on commit 4dbdcd8

Please sign in to comment.