storages: add missing return

This commit is contained in:
selsta 2023-12-25 03:09:41 +01:00
parent ac02af9286
commit 562bdb824b
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,7 @@ namespace epee
default: default:
CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << type); CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << type);
} }
return read_ae<int8_t>(); // unreachable, dummy return to avoid compiler warning
} }
inline inline
@ -322,6 +323,7 @@ namespace epee
default: default:
CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << ent_type); CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << ent_type);
} }
return read_se<int8_t>(); // unreachable, dummy return to avoid compiler warning
} }
inline inline
void throwable_buffer_reader::read(section& sec) void throwable_buffer_reader::read(section& sec)