Removed unwanted "return"

Removed unwanted "return"
This commit is contained in:
Charles A Edwards 2016-07-31 16:26:38 +01:00 committed by Antz
parent 91defbf817
commit bc8e505c79

View file

@ -394,7 +394,7 @@ bool CreateDir(const std::string& sPath)
if (_mkdir(sPath.c_str()) == 0)
return 1;
#else
if (_return mkdir(sPath.c_str(), 0777) == 0)
if (mkdir(sPath.c_str(), 0777) == 0)
return 1;
#endif
return 0; // failed to create the directory