fix(warnings): do not ignore return from system
This commit is contained in:
parent
b4e89d8f51
commit
3cc374ce5c
2 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ eoValueParam<unsigned> tournamentSizeParam = parser.createParam(unsigned(2), "to
|
||||||
}
|
}
|
||||||
|
|
||||||
// hard-coded directory name ...
|
// hard-coded directory name ...
|
||||||
system("mkdir ResSelect");
|
const int ignored = system("mkdir ResSelect");
|
||||||
std::cout << "Testing the Selections\nParents size = " << pSize
|
std::cout << "Testing the Selections\nParents size = " << pSize
|
||||||
<< ", offspring rate = " << oRate;
|
<< ", offspring rate = " << oRate;
|
||||||
std::cout << " and putting rsulting files in dir ResSelect" << std::endl;
|
std::cout << " and putting rsulting files in dir ResSelect" << std::endl;
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ int the_main(int argc, char **argv)
|
||||||
|
|
||||||
std::cout << "The resulting file (in dir ResSelect), contains \n";
|
std::cout << "The resulting file (in dir ResSelect), contains \n";
|
||||||
std::cout << " the empirical proba. for each indi to be selected." << std::endl;
|
std::cout << " the empirical proba. for each indi to be selected." << std::endl;
|
||||||
system("mkdir ResSelect");
|
const int ignored = system("mkdir ResSelect");
|
||||||
|
|
||||||
// initialize parent population
|
// initialize parent population
|
||||||
parentsOrg.resize(pSize);
|
parentsOrg.resize(pSize);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue