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

Unified Diff: net/http/http_request_headers.cc

Issue 11128003: fix uninitialized variable warning for vs2012 compilation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +1 symmetry Created 8 years, 2 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 | net/http/http_response_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_request_headers.cc
diff --git a/net/http/http_request_headers.cc b/net/http/http_request_headers.cc
index b8f9651db0e4f133cc1619904967d8d7343b8a18..014423863803a10cc6caafaffced20a9557f2f1f 100644
--- a/net/http/http_request_headers.cc
+++ b/net/http/http_request_headers.cc
@@ -207,8 +207,8 @@ bool HttpRequestHeaders::FromNetLogParam(const base::Value* event_param,
headers->Clear();
*request_line = "";
- const base::DictionaryValue* dict;
- const base::ListValue* header_list;
+ const base::DictionaryValue* dict = NULL;
+ const base::ListValue* header_list = NULL;
if (!event_param ||
!event_param->GetAsDictionary(&dict) ||
« no previous file with comments | « no previous file | net/http/http_response_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698