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

Unified Diff: apps/benchmark/event.cc

Issue 1378373002: Fix the release build. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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: apps/benchmark/event.cc
diff --git a/apps/benchmark/event.cc b/apps/benchmark/event.cc
index bdaff1d64300592926a25b53957204059f4c3482..49b6a7036705016158b706ed5180145fca2c72ef 100644
--- a/apps/benchmark/event.cc
+++ b/apps/benchmark/event.cc
@@ -55,7 +55,7 @@ bool ExtractKeyAsString(base::DictionaryValue* event_dict,
}
if (value->IsType(base::Value::TYPE_INTEGER)) {
- int id_int;
+ int id_int = 0;
// We already verified the type, so it should be an integer.
DCHECK(value->GetAsInteger(&id_int));
*output = base::IntToString(id_int);
« 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