aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/storages
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-15 20:48:45 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-15 20:48:45 +0200
commit170526dc02de99951e083a2882b6300d3e8e368a (patch)
tree691c4d6cb22ca81d0c7989686868ac0296ec80c5 /contrib/epee/include/storages
parentMerge pull request #2252 (diff)
parentepee: remove a couple unused locals (diff)
downloadmonero-170526dc02de99951e083a2882b6300d3e8e368a.tar.xz
Merge pull request #2253
51ebedb8 epee: remove a couple unused locals (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include/storages')
-rw-r--r--contrib/epee/include/storages/levin_abstract_invoke2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/include/storages/levin_abstract_invoke2.h b/contrib/epee/include/storages/levin_abstract_invoke2.h
index 14e7d402a..8ced9d689 100644
--- a/contrib/epee/include/storages/levin_abstract_invoke2.h
+++ b/contrib/epee/include/storages/levin_abstract_invoke2.h
@@ -115,7 +115,7 @@ namespace epee
{
typename serialization::portable_storage stg;
const_cast<t_arg&>(out_struct).store(stg);//TODO: add true const support to searilzation
- std::string buff_to_send, buff_to_recv;
+ std::string buff_to_send;
stg.store_to_binary(buff_to_send);
int res = transport.invoke_async(command, buff_to_send, conn_id, [cb, command](int code, const std::string& buff, typename t_transport::connection_context& context)->bool
{
@@ -151,7 +151,7 @@ namespace epee
serialization::portable_storage stg;
out_struct.store(stg);
- std::string buff_to_send, buff_to_recv;
+ std::string buff_to_send;
stg.store_to_binary(buff_to_send);
int res = transport.notify(command, buff_to_send, conn_id);