chore: suppress compiler warning

If the log level is higher than debug level
the dump_mount_flags function will not be called.

Signed-off-by: ComixHe <ComixHe1895@outlook.com>
This commit is contained in:
ComixHe 2025-08-22 16:55:17 +08:00 committed by ComixHe
parent 2a8c21b681
commit 2b51656a6e
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ constexpr std::array<MountFlag, 27> mount_flags{ MountFlag{ MS_RDONLY, "MS_RDONL
{ MS_ACTIVE, "MS_ACTIVE" },
{ MS_NOUSER, "MS_NOUSER" } };
std::string dump_mount_flags(uint flags) noexcept
[[maybe_unused]] std::string dump_mount_flags(uint flags) noexcept
{
std::stringstream ss;
ss << "[ ";