Fix some warnings

This commit is contained in:
Megamouse
2026-04-30 17:08:01 +02:00
parent 66d2bc3dd5
commit a8dd053593
14 changed files with 13 additions and 24 deletions
+1 -3
View File
@@ -1112,15 +1112,13 @@ bool fs::is_symlink(const std::string& path)
return true;
}
bool fs::is_optical_raw_device(const std::string& path)
bool fs::is_optical_raw_device([[maybe_unused]] const std::string& path)
{
#ifdef _WIN32
if (path.starts_with("\\\\.\\"))
{
return true;
}
return false;
#endif
return false;
}