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

Unified Diff: runtime/vm/timeline.cc

Issue 2990023002: Fixes build for uninitialized local variable. (Closed)
Patch Set: Created 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline.cc
diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc
index ca60209fa0ea1bc29f26ca21c558fd8d0f54ae15..b46a501624daa416e87290c45eae2f14b95dfa2a 100644
--- a/runtime/vm/timeline.cc
+++ b/runtime/vm/timeline.cc
@@ -1713,7 +1713,7 @@ void DartCommonTimelineEventHelpers::ReportFlowEvent(Thread* thread,
TimelineEvent::EventType event_type =
static_cast<TimelineEvent::EventType>(type);
- const char* typestr;
+ const char* typestr = NULL;
const char* bpstr = "";
switch (event_type) {
case TimelineEvent::kFlowBegin:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698