Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1763)

Unified Diff: courgette/adjustment_method.cc

Issue 155820: Coverity fixes to keep coverity quiet.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | courgette/adjustment_method_2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/adjustment_method.cc
===================================================================
--- courgette/adjustment_method.cc (revision 21139)
+++ courgette/adjustment_method.cc (working copy)
@@ -219,7 +219,9 @@
AssignmentProblem(const Trace& model,
const Trace& problem)
: m_trace_(model),
- p_trace_(problem) {
+ p_trace_(problem),
+ m_root_(NULL),
+ p_root_(NULL) {
}
~AssignmentProblem() {
@@ -579,7 +581,10 @@
class GraphAdjuster : public AdjustmentMethod {
public:
- GraphAdjuster() {}
+ GraphAdjuster()
+ : prog_(NULL),
+ model_(NULL),
+ debug_label_index_gen_(0) {}
~GraphAdjuster() {}
bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) {
Property changes on: courgette\adjustment_method.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | courgette/adjustment_method_2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698