summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-20 23:18:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-20 23:18:24 (GMT)
commitb123c07ecfcad7eef40591009e1642fa00ec50ee (patch)
treee9397c9fbf220717be48261ad82b23c491d40b42 /Source
parent7ef61736648d213bdc147866da6e2d4cdaa9cf20 (diff)
downloadCMake-b123c07ecfcad7eef40591009e1642fa00ec50ee.zip
CMake-b123c07ecfcad7eef40591009e1642fa00ec50ee.tar.gz
CMake-b123c07ecfcad7eef40591009e1642fa00ec50ee.tar.bz2
rename foo variables to better names
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCacheManager.h4
-rw-r--r--Source/cmSystemTools.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index 5bc757a..d79db99 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -61,10 +61,10 @@ public:
CacheEntryType GetType() const { return this->GetEntry().m_Type; }
cmCacheManager &m_Container;
std::map<cmStdString, CacheEntry>::iterator m_Position;
- CacheIterator(cmCacheManager &foo) : m_Container(foo) {
+ CacheIterator(cmCacheManager &cm) : m_Container(cm) {
this->Begin();
}
- CacheIterator(cmCacheManager &foo, const char* key) : m_Container(foo) {
+ CacheIterator(cmCacheManager &cm, const char* key) : m_Container(cm) {
this->Find(key);
}
private:
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 81c4fa3..c82f9df 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1336,8 +1336,9 @@ bool cmSystemTools::RunCommand(const char* command,
bool verbose,
int timeout)
{
- int foo;
- return cmSystemTools::RunCommand(command, output, foo, dir, verbose, timeout);
+ int dummy;
+ return cmSystemTools::RunCommand(command, output, dummy,
+ dir, verbose, timeout);
}
#if defined(WIN32) && !defined(__CYGWIN__)
@@ -2476,4 +2477,3 @@ void cmSystemTools::SplitProgramFromArgs(const char* path,
program = "";
args = "";
}
-