mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Removed unwanted "return"
Removed unwanted "return"
This commit is contained in:
parent
91defbf817
commit
bc8e505c79
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ bool CreateDir(const std::string& sPath)
|
||||||
if (_mkdir(sPath.c_str()) == 0)
|
if (_mkdir(sPath.c_str()) == 0)
|
||||||
return 1;
|
return 1;
|
||||||
#else
|
#else
|
||||||
if (_return mkdir(sPath.c_str(), 0777) == 0)
|
if (mkdir(sPath.c_str(), 0777) == 0)
|
||||||
return 1;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
return 0; // failed to create the directory
|
return 0; // failed to create the directory
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue