forked from lthn/blockchain
fixed more serious warnings for gcc
This commit is contained in:
parent
cc33fd8b9c
commit
819fd97261
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ namespace epee
|
|||
static bool unserialize_stl_container_t_val(stl_container& container, t_storage& stg, typename t_storage::hsection hparent_section, const char* pname)
|
||||
{
|
||||
container.clear();
|
||||
typename stl_container::value_type exchange_val;
|
||||
typename stl_container::value_type exchange_val{};
|
||||
typename t_storage::harray hval_array = stg.get_first_value(pname, exchange_val, hparent_section);
|
||||
if(!hval_array) return false;
|
||||
container.push_back(std::move(exchange_val));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue