From d765cd91dfaf477a1cad9eb0accf9b0d8c020f1e Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sun, 2 Jul 2017 17:47:02 +1000 Subject: [PATCH] epee: Remove unused variable --- .../include/serialization/keyvalue_serialization_overloads.h | 1 - 1 file changed, 1 deletion(-) 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();