COMP: fix a warning

This commit is contained in:
Ken Martin 2005-03-11 08:38:15 -05:00
parent 4f1591d91c
commit 63cd6e39e1
1 changed files with 1 additions and 3 deletions

View File

@ -1277,8 +1277,6 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
return 0; return 0;
} }
int ret = 0;
// now run the global generate // now run the global generate
// Check the state of the build system to see if we need to regenerate. // Check the state of the build system to see if we need to regenerate.
if(!this->CheckBuildSystem()) if(!this->CheckBuildSystem())
@ -1292,7 +1290,7 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
std::string oldstartoutputdir = this->GetStartOutputDirectory(); std::string oldstartoutputdir = this->GetStartOutputDirectory();
this->SetStartDirectory(this->GetHomeDirectory()); this->SetStartDirectory(this->GetHomeDirectory());
this->SetStartOutputDirectory(this->GetHomeOutputDirectory()); this->SetStartOutputDirectory(this->GetHomeOutputDirectory());
ret = this->Configure(); int ret = this->Configure();
if (ret || m_ScriptMode) if (ret || m_ScriptMode)
{ {
return ret; return ret;