summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-11-07 12:46:44 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-13 18:26:10 (GMT)
commit5f6432f2537203084a40f0d204a5643091f6a915 (patch)
tree214ccc5582d16dfee4d011b40933826a5e07d103 /Source/cmLocalVisualStudio7Generator.cxx
parent9f16d428a1146e4f108dd67e743c2c00911c4383 (diff)
downloadCMake-5f6432f2537203084a40f0d204a5643091f6a915.zip
CMake-5f6432f2537203084a40f0d204a5643091f6a915.tar.gz
CMake-5f6432f2537203084a40f0d204a5643091f6a915.tar.bz2
Resolve warnings about shadowing parameters and local variables.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index cc5db24..d954a52 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -914,12 +914,12 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
// for FAT32 file systems, which can cause an empty manifest
// to be embedded into the resulting executable. See CMake
// bug #2617.
- const char* tool = "VCManifestTool";
+ const char* manifestTool = "VCManifestTool";
if(this->FortranProject)
{
- tool = "VFManifestTool";
+ manifestTool = "VFManifestTool";
}
- fout << "\t\t\t<Tool\n\t\t\t\tName=\"" << tool << "\"\n"
+ fout << "\t\t\t<Tool\n\t\t\t\tName=\"" << manifestTool << "\"\n"
<< "\t\t\t\tUseFAT32Workaround=\"true\"\n"
<< "\t\t\t/>\n";
}