• scottmg's avatar
    win vs2015: avoid some variable shadowing warnings in crypto/p224 · cb6a123e
    scottmg authored
    e.g.
    
    d:\src\cr2\src\crypto\p224.cc(478): error C2220: warning treated as error - no 'object' file generated
    d:\src\cr2\src\crypto\p224.cc(478): warning C4456: declaration of 'j' hides previous local declaration
    d:\src\cr2\src\crypto\p224.cc(447): note: see declaration of 'j'
    d:\src\cr2\src\crypto\p224.cc(498): warning C4456: declaration of 'i' hides previous local declaration
    d:\src\cr2\src\crypto\p224.cc(447): note: see declaration of 'i'
    d:\src\cr2\src\crypto\p224.cc(516): warning C4456: declaration of 'i' hides previous local declaration
    d:\src\cr2\src\crypto\p224.cc(447): note: see declaration of 'i'
    d:\src\cr2\src\crypto\p224.cc(526): warning C4456: declaration of 'i' hides previous local declaration
    d:\src\cr2\src\crypto\p224.cc(447): note: see declaration of 'i'
    d:\src\cr2\src\crypto\p224.cc(694): warning C4458: declaration of 'x' hides class member
    d:\src\cr2\src\crypto\p224.h(35): note: see declaration of 'crypto::p224::Point::x'
    d:\src\cr2\src\crypto\p224.cc(694): warning C4458: declaration of 'y' hides class member
    d:\src\cr2\src\crypto\p224.h(35): note: see declaration of 'crypto::p224::Point::y'
    
    R=rsleevi@chromium.org
    BUG=440500
    
    Review URL: https://codereview.chromium.org/945633003
    
    Cr-Commit-Position: refs/heads/master@{#317398}
    cb6a123e
p224.cc 22.4 KB