0

fix uninitialized variable warning for vs2012 compilation

NOTRY=true
R=rsleevi@chromium.org
BUG=155147, 143646, 155110


Review URL: https://chromiumcodereview.appspot.com/11128003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161781 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
scottmg@chromium.org
2012-10-13 21:57:28 +00:00
parent b20f73c7ba
commit de7aeb11b5
3 changed files with 6 additions and 6 deletions

@ -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) ||

@ -1295,8 +1295,8 @@ bool HttpResponseHeaders::FromNetLogParam(
scoped_refptr<HttpResponseHeaders>* http_response_headers) {
*http_response_headers = NULL;
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) ||

@ -27,8 +27,8 @@ bool SpdyHeaderBlockFromNetLogParam(
SpdyHeaderBlock* headers) {
headers->clear();
const base::DictionaryValue* dict;
const base::DictionaryValue* header_dict;
const base::DictionaryValue* dict = NULL;
const base::DictionaryValue* header_dict = NULL;
if (!event_param ||
!event_param->GetAsDictionary(&dict) ||