From 562bdb824b19f043b0e1a07e8b1b8f19fd270748 Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 25 Dec 2023 03:09:41 +0100 Subject: storages: add missing return --- contrib/epee/include/storages/portable_storage_from_bin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') 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(); // 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(); // unreachable, dummy return to avoid compiler warning } inline void throwable_buffer_reader::read(section& sec) -- cgit v1.2.3