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/adjustment_method_2.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/adjustment_method_2.cc')
-rw-r--r-- | courgette/adjustment_method_2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/courgette/adjustment_method_2.cc b/courgette/adjustment_method_2.cc index f995748..49fcf49 100644 --- a/courgette/adjustment_method_2.cc +++ b/courgette/adjustment_method_2.cc @@ -1248,7 +1248,7 @@ class AssignmentProblem { class Adjuster : public AdjustmentMethod { public: - Adjuster() {} + Adjuster() : prog_(NULL), model_(NULL) {} ~Adjuster() {} bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) { |