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

Unified Diff: base/debug/stack_trace.h

Issue 10834006: Coverity: Fully initialize the |trace_| member variable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 8 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 | base/debug/stack_trace.cc » ('j') | base/debug/stack_trace_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/stack_trace.h
diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h
index 99bb4522620c05ed8a77eb581646c5bd9b5405fb..ba020ee37bd51182bfebc6e47610571a27af61cd 100644
--- a/base/debug/stack_trace.h
+++ b/base/debug/stack_trace.h
@@ -63,7 +63,9 @@ class BASE_EXPORT StackTrace {
static const int kMaxTraces = 62;
void* trace_[kMaxTraces];
- int count_;
+
+ // The number of valid frames in |trace_|.
+ size_t count_;
};
} // namespace debug
« no previous file with comments | « no previous file | base/debug/stack_trace.cc » ('j') | base/debug/stack_trace_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698