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

Unified Diff: chrome/common/common_param_traits.cc

Issue 6368094: -Wuninitialized fixes Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 11 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 | « chrome/common/autofill_messages.cc ('k') | chrome/common/gpu_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/common_param_traits.cc
diff --git a/chrome/common/common_param_traits.cc b/chrome/common/common_param_traits.cc
index 2b907418a696875efca4bf7236896d1f2c4434ac..18fd2e4a948cecf3e5eb566049ed4c12294e313a 100644
--- a/chrome/common/common_param_traits.cc
+++ b/chrome/common/common_param_traits.cc
@@ -658,9 +658,9 @@ void ParamTraits<base::PlatformFileInfo>::Write(
bool ParamTraits<base::PlatformFileInfo>::Read(
const Message* m, void** iter, param_type* p) {
- double last_modified;
- double last_accessed;
- double creation_time;
+ double last_modified = 0; // clang pr9122
+ double last_accessed = 0; // clang pr9122
+ double creation_time = 0; // clang pr9122
bool result =
ReadParam(m, iter, &p->size) &&
ReadParam(m, iter, &p->is_directory) &&
« no previous file with comments | « chrome/common/autofill_messages.cc ('k') | chrome/common/gpu_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698