From d38c3a28213b3a2bc62df703c231eebf0bb5dbf4 Mon Sep 17 00:00:00 2001 From: "sra@chromium.org" Date: Wed, 22 Jul 2009 01:30:06 +0000 Subject: Coverity fixes to keep coverity quiet. Only the first issue is remotely interesting. * Possibility (low) of using NULL SinkStream* courgette tool 'gen1a' command. * Added initializers for all class members to several constructors. * return 0 at end of from wmain. BUG=none TEST=existing Review URL: http://codereview.chromium.org/155820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21253 0039d316-1c4b-4281-b951-d872f2087c98 --- courgette/encoded_program.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'courgette/encoded_program.cc') diff --git a/courgette/encoded_program.cc b/courgette/encoded_program.cc index 98d70c9..1265312 100644 --- a/courgette/encoded_program.cc +++ b/courgette/encoded_program.cc @@ -33,7 +33,7 @@ const int kStreamLimit = 9; // Constructor is here rather than in the header. Although the constructor // appears to do nothing it is fact quite large because of the implict calls to // field constructors. Ditto for the destructor. -EncodedProgram::EncodedProgram() {} +EncodedProgram::EncodedProgram() : image_base_(0) {} EncodedProgram::~EncodedProgram() {} // Serializes a vector of integral values using Varint32 coding. -- cgit v1.1