formats: fixed GCC compile

This commit is contained in:
Ivan Vangelista 2022-04-02 18:09:33 +02:00
parent a79aad0d79
commit f7ed791122
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 {