rename foo variables to better names

This commit is contained in:
Bill Hoffman 2002-11-20 18:18:24 -05:00
parent 7ef6173664
commit b123c07ecf
2 changed files with 5 additions and 5 deletions

View File

@ -61,10 +61,10 @@ public:
CacheEntryType GetType() const { return this->GetEntry().m_Type; } CacheEntryType GetType() const { return this->GetEntry().m_Type; }
cmCacheManager &m_Container; cmCacheManager &m_Container;
std::map<cmStdString, CacheEntry>::iterator m_Position; std::map<cmStdString, CacheEntry>::iterator m_Position;
CacheIterator(cmCacheManager &foo) : m_Container(foo) { CacheIterator(cmCacheManager &cm) : m_Container(cm) {
this->Begin(); this->Begin();
} }
CacheIterator(cmCacheManager &foo, const char* key) : m_Container(foo) { CacheIterator(cmCacheManager &cm, const char* key) : m_Container(cm) {
this->Find(key); this->Find(key);
} }
private: private:

View File

@ -1336,8 +1336,9 @@ bool cmSystemTools::RunCommand(const char* command,
bool verbose, bool verbose,
int timeout) int timeout)
{ {
int foo; int dummy;
return cmSystemTools::RunCommand(command, output, foo, dir, verbose, timeout); return cmSystemTools::RunCommand(command, output, dummy,
dir, verbose, timeout);
} }
#if defined(WIN32) && !defined(__CYGWIN__) #if defined(WIN32) && !defined(__CYGWIN__)
@ -2476,4 +2477,3 @@ void cmSystemTools::SplitProgramFromArgs(const char* path,
program = ""; program = "";
args = ""; args = "";
} }