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

Unified Diff: chrome/common/profiling.cc

Issue 8965054: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
Index: chrome/common/profiling.cc
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc
index 1173992e6b765fc731afeaeb3f951576c609162c..f355052ca7a918c146622454ac0e4352fed80054 100644
--- a/chrome/common/profiling.cc
+++ b/chrome/common/profiling.cc
@@ -59,7 +59,7 @@ void FlushProfilingData(base::Thread* thread) {
class ProfilingThreadControl {
public:
- ProfilingThreadControl() {}
+ ProfilingThreadControl() : thread_(NULL) {}
void Start() {
base::AutoLock locked(lock_);

Powered by Google App Engine
This is Rietveld 408576698