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:
parent
2a8c21b681
commit
2b51656a6e
|
|
@ -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 << "[ ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue