Index: chrome/common/indexed_db_param_traits.cc |
diff --git a/chrome/common/indexed_db_param_traits.cc b/chrome/common/indexed_db_param_traits.cc |
index 70c10ffb5cf4dc0e830e445fe6f39a997cba3abb..7a7745c3fb6bc4249d3498d8ad1ab3336db19013 100644 |
--- a/chrome/common/indexed_db_param_traits.cc |
+++ b/chrome/common/indexed_db_param_traits.cc |
@@ -20,8 +20,8 @@ void ParamTraits<SerializedScriptValue>::Write(Message* m, |
bool ParamTraits<SerializedScriptValue>::Read(const Message* m, |
void** iter, |
param_type* r) { |
- bool is_null; |
- bool is_invalid; |
+ bool is_null = false; // clang pr9122 |
+ bool is_invalid = false; // clang pr9122 |
string16 data; |
bool ok = |
ReadParam(m, iter, &is_null) && |
@@ -59,8 +59,8 @@ bool ParamTraits<IndexedDBKey>::Read(const Message* m, |
param_type* r) { |
int type; |
string16 string; |
- double date; |
- double number; |
+ double date = 0; // clang pr9122 |
+ double number = 0; // clang pr9122 |
bool ok = |
ReadParam(m, iter, &type) && |
ReadParam(m, iter, &string) && |