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:
@ -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) ||
|
||||
|
Reference in New Issue
Block a user