summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalKdevelopGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-22 14:19:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-22 14:19:43 (GMT)
commit3b891e6e41d8bca3477f173693d032ee2813a168 (patch)
treee2998da202c989bf93c275b150debecce86548e7 /Source/cmLocalKdevelopGenerator.cxx
parent0cbf55745a6562a27552826b95628dd6e09e6cbf (diff)
downloadCMake-3b891e6e41d8bca3477f173693d032ee2813a168.zip
CMake-3b891e6e41d8bca3477f173693d032ee2813a168.tar.gz
CMake-3b891e6e41d8bca3477f173693d032ee2813a168.tar.bz2
COMP: remove warning
Diffstat (limited to 'Source/cmLocalKdevelopGenerator.cxx')
-rw-r--r--Source/cmLocalKdevelopGenerator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmLocalKdevelopGenerator.cxx b/Source/cmLocalKdevelopGenerator.cxx
index 9ad85db8..023c90c 100644
--- a/Source/cmLocalKdevelopGenerator.cxx
+++ b/Source/cmLocalKdevelopGenerator.cxx
@@ -304,9 +304,9 @@ bool cmLocalKdevelopGenerator::CreateFilelistFile(const std::string& outputDir,
// This means the makefile is a sub-makefile of the current project
//get all cmake files
const std::vector<std::string>& listFiles=makefile->GetListFiles();
- for (std::vector<std::string>::const_iterator it=listFiles.begin(); it!=listFiles.end(); it++)
+ for (std::vector<std::string>::const_iterator lt=listFiles.begin(); lt!=listFiles.end(); lt++)
{
- tmp=*it;
+ tmp=*lt;
cmSystemTools::ReplaceString(tmp, projectDir.c_str(), "");
// make sure the file is part of this source tree
if (tmp[0]!='/')
@@ -332,10 +332,10 @@ bool cmLocalKdevelopGenerator::CreateFilelistFile(const std::string& outputDir,
{
files.insert((*it)->GetFullPath());
}
- for (std::vector<std::string>::const_iterator it=listFiles.begin();
- it!=listFiles.end(); it++)
+ for (std::vector<std::string>::const_iterator lt=listFiles.begin();
+ lt!=listFiles.end(); lt++)
{
- tmp=*it;
+ tmp=*lt;
cmSystemTools::ReplaceString(tmp, projectDir.c_str(), "");
if (tmp[0]!='/')
{