mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
fix(Core/Tools): fix GCC warnings in extractors (#3430)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user