kernel: Make the configurable filename restrictions actually compile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fdf2bb2501
commit
3b6f5b28fc
@ -102,6 +102,7 @@ namespace VFS
|
|||||||
Result<void> validate_filename(StringView name)
|
Result<void> validate_filename(StringView name)
|
||||||
{
|
{
|
||||||
#ifdef MOON_DISABLE_FILENAME_RESTRICTIONS
|
#ifdef MOON_DISABLE_FILENAME_RESTRICTIONS
|
||||||
|
(void)name;
|
||||||
return {};
|
return {};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user