Merge pull request #2122

a282c575 Fix #2071: remove declaration of unused variable "it" in epee (binaryFate)
This commit is contained in:
Riccardo Spagni 2017-07-03 12:29:26 +02:00
commit 5689851f85
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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)
{
if(!container.size()) return true;
typename stl_container::const_iterator it = container.begin();
std::string mb;
mb.resize(sizeof(typename stl_container::value_type)*container.size());
typename stl_container::value_type* p_elem = (typename stl_container::value_type*)mb.data();