1
0
Fork 0
forked from lthn/blockchain

gcc warning fixed

This commit is contained in:
sowle 2024-04-03 17:18:47 +02:00
parent 1f3ae7b725
commit b5879f7360
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -315,7 +315,7 @@ namespace epee
struct selector<true>
{
template<class t_type, class t_storage>
static bool serialize(const t_type& d, t_storage& stg, typename t_storage::hsection hparent_section, const char* pname)
static bool serialize(const t_type& d, t_storage& stg, [[maybe_unused]] typename t_storage::hsection hparent_section, [[maybe_unused]] const char* pname)
{
if constexpr (!t_storage::use_descriptions::value)
{