Add default error value for FSMakeDirWrapper

This commit is contained in:
Maschell 2022-09-05 20:20:42 +02:00
parent f7358bc380
commit 3be38d6ea9

View File

@ -190,6 +190,7 @@ FSError FSWrapper::FSMakeDirWrapper(const char *path) {
} else if (err == ENOENT) {
return FS_ERROR_NOT_FOUND;
}
return FS_ERROR_MEDIA_ERROR;
}
return FS_ERROR_OK;
}