fix(warnings): do not ignore return from system

This commit is contained in:
Johann Dreo 2024-08-23 14:30:25 +02:00
commit 3cc374ce5c
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ eoValueParam<unsigned> tournamentSizeParam = parser.createParam(unsigned(2), "to
}
// hard-coded directory name ...
system("mkdir ResSelect");
const int ignored = system("mkdir ResSelect");
std::cout << "Testing the Selections\nParents size = " << pSize
<< ", offspring rate = " << oRate;
std::cout << " and putting rsulting files in dir ResSelect" << std::endl;

View file

@ -193,7 +193,7 @@ int the_main(int argc, char **argv)
std::cout << "The resulting file (in dir ResSelect), contains \n";
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
parentsOrg.resize(pSize);