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

Unified Diff: base/process_util.cc

Issue 7216031: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove trace_event.h changes. Created 9 years, 6 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 | « base/dir_reader_linux.h ('k') | ui/base/text/text_elider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util.cc
diff --git a/base/process_util.cc b/base/process_util.cc
index 462dcbf3f3fd2a5e9aab1d429cadab187713db6d..18e3be7b9d256f270bbbb6753e15b73811fa5065 100644
--- a/base/process_util.cc
+++ b/base/process_util.cc
@@ -7,7 +7,7 @@
namespace base {
#if defined(OS_POSIX)
-ProcessEntry::ProcessEntry() {}
+ProcessEntry::ProcessEntry() : pid_(0), ppid_(0), gid_(0) {}
ProcessEntry::~ProcessEntry() {}
#endif
« no previous file with comments | « base/dir_reader_linux.h ('k') | ui/base/text/text_elider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698