eo::log: added the parameter -o in order to define a log file + removed some warning messages at compile time
This commit is contained in:
parent
0834d689e8
commit
5bd0baace7
4 changed files with 46 additions and 9 deletions
|
|
@ -90,14 +90,16 @@ bool testDirRes(std::string _dirName, bool _erase=true)
|
|||
if (res) // no dir present
|
||||
{
|
||||
s = string("mkdir ")+ _dirName;
|
||||
system(s.c_str());
|
||||
int res = system(s.c_str());
|
||||
(void)res;
|
||||
return true;
|
||||
}
|
||||
// else
|
||||
if (_erase) // OK to erase
|
||||
{
|
||||
s = string("/bin/rm ")+ _dirName + "/*";
|
||||
system(s.c_str());
|
||||
int res = system(s.c_str());
|
||||
(void)res;
|
||||
return true;
|
||||
}
|
||||
//else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue