mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Fix #2071: remove declaration of unused variable "it" in epee
This commit is contained in:
parent
0c6ea4f8a6
commit
a282c5756c
1 changed files with 0 additions and 1 deletions
|
@ -126,7 +126,6 @@ namespace epee
|
||||||
static bool serialize_stl_container_pod_val_as_blob(const stl_container& container, t_storage& stg, typename t_storage::hsection hparent_section, const char* pname)
|
static bool serialize_stl_container_pod_val_as_blob(const stl_container& container, t_storage& stg, typename t_storage::hsection hparent_section, const char* pname)
|
||||||
{
|
{
|
||||||
if(!container.size()) return true;
|
if(!container.size()) return true;
|
||||||
typename stl_container::const_iterator it = container.begin();
|
|
||||||
std::string mb;
|
std::string mb;
|
||||||
mb.resize(sizeof(typename stl_container::value_type)*container.size());
|
mb.resize(sizeof(typename stl_container::value_type)*container.size());
|
||||||
typename stl_container::value_type* p_elem = (typename stl_container::value_type*)mb.data();
|
typename stl_container::value_type* p_elem = (typename stl_container::value_type*)mb.data();
|
||||||
|
|
Loading…
Reference in a new issue