summaryrefslogtreecommitdiffstats
path: root/Source/cmDirectory.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-17 14:51:23 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-17 14:51:23 (GMT)
commitc3007233ec8fc164a1e5de539bebdeb11cae3d8c (patch)
tree7e6222c18c3848e5eaf322e3c5f8d9244768c577 /Source/cmDirectory.cxx
parenta465ee3c6bcca6da501cc1499f17ca192b908927 (diff)
downloadCMake-c3007233ec8fc164a1e5de539bebdeb11cae3d8c.zip
CMake-c3007233ec8fc164a1e5de539bebdeb11cae3d8c.tar.gz
CMake-c3007233ec8fc164a1e5de539bebdeb11cae3d8c.tar.bz2
Rename variables to remove warnings
Diffstat (limited to 'Source/cmDirectory.cxx')
-rw-r--r--Source/cmDirectory.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmDirectory.cxx b/Source/cmDirectory.cxx
index 9b4d03b..a72065a 100644
--- a/Source/cmDirectory.cxx
+++ b/Source/cmDirectory.cxx
@@ -50,7 +50,7 @@ cmDirectory
buf = new char[n + 2 + 1];
sprintf(buf, "%s/*", name);
}
- struct _finddata_t data; // data of current file
+ struct _finddata_t data; // data of current file
// Now put them into the file array
size_t srchHandle = _findfirst(buf, &data);
@@ -109,13 +109,13 @@ cmDirectory
*/
const char*
cmDirectory
-::GetFile(size_t index)
+::GetFile(size_t dindex)
{
- if ( index >= m_Files.size() )
+ if ( dindex >= m_Files.size() )
{
cmSystemTools::Error("Bad index for GetFile on cmDirectory\n", 0);
return 0;
}
- return m_Files[index].c_str();
+ return m_Files[dindex].c_str();
}