diff options
author | David Cole <david.cole@kitware.com> | 2011-02-03 15:21:32 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-02-03 15:21:32 (GMT) |
commit | c310450daf346aafe1e9b230752952228a7e7815 (patch) | |
tree | 445440cf63e69f69f8121e04fd740dc33b900f67 /Source/CPack/cmCPackPackageMakerGenerator.cxx | |
parent | 26eba9cb9c1cbdc7739a9a26aeb4b8f00802f56d (diff) | |
download | CMake-c310450daf346aafe1e9b230752952228a7e7815.zip CMake-c310450daf346aafe1e9b230752952228a7e7815.tar.gz CMake-c310450daf346aafe1e9b230752952228a7e7815.tar.bz2 |
Silence the may be used uninitialized warnings: initialize stuff.
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackPackageMakerGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx index ef81da8..0c4b1a6 100644 --- a/Source/CPack/cmCPackPackageMakerGenerator.cxx +++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx @@ -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, |