kernel: Make the configurable filename restrictions actually compile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-06-22 20:24:33 +02:00
parent fdf2bb2501
commit 3b6f5b28fc
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -102,6 +102,7 @@ namespace VFS
Result<void> validate_filename(StringView name)
{
#ifdef MOON_DISABLE_FILENAME_RESTRICTIONS
(void)name;
return {};
#endif