storages: add missing return

pull/9103/head
selsta 6 months ago
parent ac02af9286
commit 562bdb824b
Signed by untrusted user: selsta
GPG Key ID: 2EA0A99A8B07AE5E

@ -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)

Loading…
Cancel
Save