From 197509c596cf4ce34e1b886dde61652f9ce34a3a Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Sun, 18 Aug 2024 15:21:16 +0200 Subject: [PATCH] fix? --- src/odr/internal/cfb/cfb_archive.cpp | 6 +++++- src/odr/internal/html/common.cpp | 3 +++ src/odr/internal/html/html_writer.cpp | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/odr/internal/cfb/cfb_archive.cpp b/src/odr/internal/cfb/cfb_archive.cpp index a0d5ac86..23e53033 100644 --- a/src/odr/internal/cfb/cfb_archive.cpp +++ b/src/odr/internal/cfb/cfb_archive.cpp @@ -32,6 +32,10 @@ std::shared_ptr CfbArchive::filesystem() const { return filesystem; } -void CfbArchive::save(std::ostream &out) const { throw UnsupportedOperation(); } +void CfbArchive::save(std::ostream &out) const { + (void)out; + + throw UnsupportedOperation(); +} } // namespace odr::internal::cfb diff --git a/src/odr/internal/html/common.cpp b/src/odr/internal/html/common.cpp index 55cb71d7..92b7640e 100644 --- a/src/odr/internal/html/common.cpp +++ b/src/odr/internal/html/common.cpp @@ -64,6 +64,9 @@ HtmlResourceLocator html::local_resource_locator(const std::string &output_path, return [&](HtmlResourceType type, const std::string &name, const std::string &path, const File &resource, bool is_core_resource) -> HtmlResourceLocation { + (void)type; + (void)name; + if (config.embed_resources) { return std::nullopt; } diff --git a/src/odr/internal/html/html_writer.cpp b/src/odr/internal/html/html_writer.cpp index 76e75068..329a9928 100644 --- a/src/odr/internal/html/html_writer.cpp +++ b/src/odr/internal/html/html_writer.cpp @@ -4,6 +4,7 @@ #include #include +#include #include namespace odr::internal::html {