Merge pull request #9103

562bdb8 storages: add missing return (selsta)
This commit is contained in:
luigi1111 2024-01-18 18:07:12 -05:00
commit 663dcf3aa2
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 2 additions and 0 deletions

View File

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