Merge topic 'fix-clang-warnings'

c310450 Silence the may be used uninitialized warnings: initialize stuff.
This commit is contained in:
Brad King 2011-02-08 14:18:36 -05:00 committed by CMake Topic Stage
commit 5b8869faea
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ int cmCPackOSXX11Generator::PackageFiles()
// since we get random dashboard failures with this one
// try running it more than once
int numTries = 4;
bool res;
bool res = false;
while(numTries > 0)
{
res = cmSystemTools::RunSingleCommand(dmgCmd.str().c_str(), &output,

View File

@ -320,7 +320,7 @@ int cmCPackPackageMakerGenerator::PackageFiles()
std::string output;
int retVal = 1;
int numTries = 4;
bool res;
bool res = false;
while(numTries > 0)
{
res = cmSystemTools::RunSingleCommand(dmgCmd.str().c_str(), &output,