Skip to content
Snippets Groups Projects
Commit 7907d930 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: check for empty path

parent ce2f3f54
No related branches found
No related tags found
No related merge requests found
......@@ -337,6 +337,10 @@ const char* SystemTools::GetExecutableExtension()
bool SystemTools::MakeDirectory(const char* path)
{
if(!path)
{
return false;
}
if(SystemTools::FileExists(path))
{
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment