ninja_test: Fix Visual C++ 2015 warnings/errors about name hiding.
authorJames Johnston <johnstonj.public@codenest.com>
Mon, 18 Apr 2016 20:25:40 +0000 (20:25 +0000)
committerJames Johnston <johnstonj.public@codenest.com>
Mon, 18 Apr 2016 20:32:16 +0000 (20:32 +0000)
commit50d85fc61dfe34a757fe5689327bc072783b8d22
tree7aef479c5f8c29989343c4a2a6b86464448fcf45
parent78f548880e549c701bd77760e4b3f3a4ee147641
ninja_test: Fix Visual C++ 2015 warnings/errors about name hiding.

Visual C++ 2015 warns if a local variable hides visibility of another variable
in a higher scope.  Since this project declares warnings as errors, ninja_test
simply won't build on Visual C++ 2015.

The variables have been renamed and scope limited as appropriate, so that
ninja_test will build without error now on Visual C++ 2015.
src/build_log_test.cc
src/deps_log_test.cc
src/manifest_parser_test.cc
src/test.h