diff options
author | 2022-04-02 18:09:33 +0200 | |
---|---|---|
committer | 2022-04-02 18:09:33 +0200 | |
commit | f7ed791122955fa2be660d3d43ad9fb5e7b5b22d (patch) | |
tree | d8e9d42eb26b0eb85ebca3ee4cfd1faa057a6484 | |
parent | a79aad0d796082af74368e40774d23232c1335af (diff) |
formats: fixed GCC compile
-rw-r--r-- | src/lib/formats/fs_oric_jasmin.cpp | 2 | ||||
-rw-r--r-- | src/lib/formats/fs_prodos.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/fs_oric_jasmin.cpp b/src/lib/formats/fs_oric_jasmin.cpp index 28a5bf89ac3..f51d18ace4e 100644 --- a/src/lib/formats/fs_oric_jasmin.cpp +++ b/src/lib/formats/fs_oric_jasmin.cpp @@ -57,7 +57,7 @@ public: virtual dir_t root() override; static u32 cs_to_block(u16 ref); - static u16 block_to_cs(u32 block); + [[maybe_unused]] static u16 block_to_cs(u32 block); bool ref_valid(u16 ref); static std::string read_file_name(const u8 *p); diff --git a/src/lib/formats/fs_prodos.cpp b/src/lib/formats/fs_prodos.cpp index c812f7ec87b..2aac74bfb2e 100644 --- a/src/lib/formats/fs_prodos.cpp +++ b/src/lib/formats/fs_prodos.cpp @@ -52,7 +52,7 @@ private: u16 m_base_block; std::pair<fsblk_t::block_t, const u8 *> get_entry_ro(u64 key); - std::pair<fsblk_t::block_t, u8 *> get_entry(u64 key); + [[maybe_unused]] std::pair<fsblk_t::block_t, u8 *> get_entry(u64 key); }; class dir : public root_dir { |