mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
storages: add missing return
This commit is contained in:
parent
ac02af9286
commit
562bdb824b
1 changed files with 2 additions and 0 deletions
|
@ -231,6 +231,7 @@ namespace epee
|
||||||
default:
|
default:
|
||||||
CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << type);
|
CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << type);
|
||||||
}
|
}
|
||||||
|
return read_ae<int8_t>(); // unreachable, dummy return to avoid compiler warning
|
||||||
}
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
|
@ -322,6 +323,7 @@ namespace epee
|
||||||
default:
|
default:
|
||||||
CHECK_AND_ASSERT_THROW_MES(false, "unknown entry_type code = " << ent_type);
|
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
|
inline
|
||||||
void throwable_buffer_reader::read(section& sec)
|
void throwable_buffer_reader::read(section& sec)
|
||||||
|
|
Loading…
Reference in a new issue