aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorbinaryFate <binaryfate@users.noreply.github.com>2017-06-25 21:24:48 +0200
committerbinaryFate <binaryfate@users.noreply.github.com>2017-06-26 12:32:01 +0200
commita282c5756c9887cb87707703da268dce75aabd70 (patch)
treebf5b92da7abda8ada175199be3db7b6c6edd9394 /contrib/epee
parentMerge pull request #2111 (diff)
downloadmonero-a282c5756c9887cb87707703da268dce75aabd70.tar.xz
Fix #2071: remove declaration of unused variable "it" in epee
Diffstat (limited to 'contrib/epee')
-rw-r--r--contrib/epee/include/serialization/keyvalue_serialization_overloads.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/epee/include/serialization/keyvalue_serialization_overloads.h b/contrib/epee/include/serialization/keyvalue_serialization_overloads.h
index 33486d9ec..1a58cab99 100644
--- a/contrib/epee/include/serialization/keyvalue_serialization_overloads.h
+++ b/contrib/epee/include/serialization/keyvalue_serialization_overloads.h
@@ -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();