diff options
author | luigi1111 <luigi1111w@gmail.com> | 2024-01-18 18:07:12 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2024-01-18 18:07:12 -0500 |
commit | 663dcf3aa272d4d9435e7414365813387c4bec0f (patch) | |
tree | ae9c6f8c3d6beff3e27a87b6750128720b4d540d | |
parent | Merge pull request #9090 (diff) | |
parent | storages: add missing return (diff) | |
download | monero-663dcf3aa272d4d9435e7414365813387c4bec0f.tar.xz |
Merge pull request #9103
562bdb8 storages: add missing return (selsta)
-rw-r--r-- | contrib/epee/include/storages/portable_storage_from_bin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/epee/include/storages/portable_storage_from_bin.h b/contrib/epee/include/storages/portable_storage_from_bin.h index b0af022f5..9fcaf5d01 100644 --- a/contrib/epee/include/storages/portable_storage_from_bin.h +++ b/contrib/epee/include/storages/portable_storage_from_bin.h @@ -231,6 +231,7 @@ namespace epee default: CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << type); } + return read_ae<int8_t>(); // unreachable, dummy return to avoid compiler warning } inline @@ -322,6 +323,7 @@ namespace epee default: 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 void throwable_buffer_reader::read(section& sec) |