aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-01-18 18:07:12 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-01-18 18:07:12 -0500
commit663dcf3aa272d4d9435e7414365813387c4bec0f (patch)
treeae9c6f8c3d6beff3e27a87b6750128720b4d540d /contrib
parentMerge pull request #9090 (diff)
parentstorages: add missing return (diff)
downloadmonero-663dcf3aa272d4d9435e7414365813387c4bec0f.tar.xz
Merge pull request #9103
562bdb8 storages: add missing return (selsta)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/storages/portable_storage_from_bin.h2
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)