mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 11:59:27 -05:00
storages: add missing return
This commit is contained in:
parent
ac02af9286
commit
562bdb824b
@ -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…
Reference in New Issue
Block a user