DescriptionFix shadowing warning in json_parser on VS2015
d:\src\cr3\src\base\json\json_parser.cc(431): error C2220: warning treated as error - no 'object' file generated
d:\src\cr3\src\base\json\json_parser.cc(431): warning C4456: declaration of 'next_char' hides previous local declaration
d:\src\cr3\src\base\json\json_parser.cc(427): note: see declaration of 'next_char'
I don't think there's any need for a new variable inside the loop.
R=thestig@chromium.org
BUG=440500
Committed: https://crrev.com/e5937efe673d362d4c933b2194fa808e32167de1
Cr-Commit-Position: refs/heads/master@{#313374}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|