• scottmg's avatar
    Fix shadowing warning in json_parser on VS2015 · e5937efe
    scottmg authored
    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
    
    Review URL: https://codereview.chromium.org/881003003
    
    Cr-Commit-Position: refs/heads/master@{#313374}
    e5937efe
json_parser.cc 25.9 KB