STYLE: fix hidden variable warning

This commit is contained in:
Bill Hoffman 2008-10-01 12:45:49 -04:00
parent ab409fec89
commit 049e3da2ec
1 changed files with 2 additions and 2 deletions

View File

@ -1606,9 +1606,9 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
depends.erase(depends.begin(), depends.end()); depends.erase(depends.begin(), depends.end());
singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand()); singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
singleLine.push_back("--config"); singleLine.push_back("--config");
std::string configFile = mf->GetStartOutputDirectory();; configFile = mf->GetStartOutputDirectory();;
configFile += "/CPackSourceCConfig.cmake"; configFile += "/CPackSourceCConfig.cmake";
std::string relConfigFile = "./CPackSourceConfig.cmake"; relConfigFile = "./CPackSourceConfig.cmake";
singleLine.push_back(relConfigFile); singleLine.push_back(relConfigFile);
if(cmSystemTools::FileExists(configFile.c_str())) if(cmSystemTools::FileExists(configFile.c_str()))
{ {