diff options
author | sra@chromium.org <sra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 01:30:06 +0000 |
---|---|---|
committer | sra@chromium.org <sra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 01:30:06 +0000 |
commit | d38c3a28213b3a2bc62df703c231eebf0bb5dbf4 (patch) | |
tree | f621cc23ae43d38cce013c5a795e35a043c4bc34 /courgette/encoded_program.cc | |
parent | 31856be711996fc573ca6203db7512ab6089899d (diff) | |
download | chromium_src-d38c3a28213b3a2bc62df703c231eebf0bb5dbf4.zip chromium_src-d38c3a28213b3a2bc62df703c231eebf0bb5dbf4.tar.gz chromium_src-d38c3a28213b3a2bc62df703c231eebf0bb5dbf4.tar.bz2 |
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
Diffstat (limited to 'courgette/encoded_program.cc')
-rw-r--r-- | courgette/encoded_program.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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. |