mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
epee: remove a couple unused locals
This commit is contained in:
parent
ab594cfee9
commit
51ebedb803
1 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ namespace epee
|
||||||
{
|
{
|
||||||
typename serialization::portable_storage stg;
|
typename serialization::portable_storage stg;
|
||||||
const_cast<t_arg&>(out_struct).store(stg);//TODO: add true const support to searilzation
|
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);
|
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
|
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;
|
serialization::portable_storage stg;
|
||||||
out_struct.store(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);
|
stg.store_to_binary(buff_to_send);
|
||||||
|
|
||||||
int res = transport.notify(command, buff_to_send, conn_id);
|
int res = transport.notify(command, buff_to_send, conn_id);
|
||||||
|
|
Loading…
Reference in a new issue