tests: fix warnings exposed by -Werror and a non-recursive Storage copy

This commit is contained in:
faumaray committed 2026-12-03 17:37:14 +03:00
1 parent 2c8d853af0
commit 92d60231e5
5 files changed
+10 -18

No files matched your search

+3 -1
View File
@@ -44,7 +44,9 @@ namespace
}
}
void write_raw_tar(const std::filesystem::path& path,
// Used only when the upstream LibArchive backend is absent; keep it
// compiled so the pure-C++ fallback path is covered in that build.
[[maybe_unused]] void write_raw_tar(const std::filesystem::path& path,
std::span<const ArchiveEntry> entries)
{
std::ofstream out{path, std::ios::binary | std::ios::trunc};