Silence the may be used uninitialized warnings: initialize stuff.
This commit is contained in:
parent
26eba9cb9c
commit
c310450daf
|
@ -150,7 +150,7 @@ int cmCPackOSXX11Generator::PackageFiles()
|
||||||
// since we get random dashboard failures with this one
|
// since we get random dashboard failures with this one
|
||||||
// try running it more than once
|
// try running it more than once
|
||||||
int numTries = 4;
|
int numTries = 4;
|
||||||
bool res;
|
bool res = false;
|
||||||
while(numTries > 0)
|
while(numTries > 0)
|
||||||
{
|
{
|
||||||
res = cmSystemTools::RunSingleCommand(dmgCmd.str().c_str(), &output,
|
res = cmSystemTools::RunSingleCommand(dmgCmd.str().c_str(), &output,
|
||||||
|
|
|
@ -320,7 +320,7 @@ int cmCPackPackageMakerGenerator::PackageFiles()
|
||||||
std::string output;
|
std::string output;
|
||||||
int retVal = 1;
|
int retVal = 1;
|
||||||
int numTries = 4;
|
int numTries = 4;
|
||||||
bool res;
|
bool res = false;
|
||||||
while(numTries > 0)
|
while(numTries > 0)
|
||||||
{
|
{
|
||||||
res = cmSystemTools::RunSingleCommand(dmgCmd.str().c_str(), &output,
|
res = cmSystemTools::RunSingleCommand(dmgCmd.str().c_str(), &output,
|
||||||
|
|
Loading…
Reference in New Issue