fix(Core/Tools): fix GCC warnings in extractors (#3430)
This commit is contained in:
parent
6134e1d399
commit
9d381fa0f1
2 changed files with 25 additions and 6 deletions
|
|
@ -99,8 +99,12 @@ void CreateDir( const std::string& Path )
|
|||
{
|
||||
if(chdir(Path.c_str()) == 0)
|
||||
{
|
||||
chdir("../");
|
||||
return;
|
||||
int ret = chdir("../");
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("Error while executing chdir");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
int ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue