From 3b6f5b28fcea240546cb18237ba4552c522b6ec3 Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 22 Jun 2023 20:24:33 +0200 Subject: [PATCH] kernel: Make the configurable filename restrictions actually compile --- kernel/src/fs/VFS.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/src/fs/VFS.cpp b/kernel/src/fs/VFS.cpp index 3d164733..c57225e0 100644 --- a/kernel/src/fs/VFS.cpp +++ b/kernel/src/fs/VFS.cpp @@ -102,6 +102,7 @@ namespace VFS Result validate_filename(StringView name) { #ifdef MOON_DISABLE_FILENAME_RESTRICTIONS + (void)name; return {}; #endif