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

Unified Diff: base/process_util_posix.cc

Issue 6368094: -Wuninitialized fixes Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 10 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 | « base/message_loop.cc ('k') | base/third_party/dmg_fp/dtoa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_posix.cc
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
index 9d0ba58c85b9ecce2e6ccf29d36e095ded9156e0..bd7d2bc59484adeb130de87ec7f515696147cfbf 100644
--- a/base/process_util_posix.cc
+++ b/base/process_util_posix.cc
@@ -375,7 +375,7 @@ char** AlterEnvironment(const environment_vector& changes,
for (environment_vector::const_iterator
j = changes.begin(); j != changes.end(); j++) {
bool found = false;
- const char *pair;
+ const char *pair = NULL; // clang pr9062
for (unsigned i = 0; env[i]; i++) {
pair = env[i];
« no previous file with comments | « base/message_loop.cc ('k') | base/third_party/dmg_fp/dtoa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698