From 000a80fa781f3e62762c7f10b10e4f3473cfc4a2 Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Sun, 9 Sep 2018 00:37:19 +0900 Subject: [PATCH] Remove unused variable --- programs/cleos/main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/programs/cleos/main.cpp b/programs/cleos/main.cpp index b829befe467..0318e9beacd 100644 --- a/programs/cleos/main.cpp +++ b/programs/cleos/main.cpp @@ -568,11 +568,6 @@ chain::action create_transfer(const string& contract, const name& sender, const ("quantity", amount) ("memo", memo); - auto args = fc::mutable_variant_object - ("code", contract) - ("action", "transfer") - ("args", transfer); - return action { tx_permission.empty() ? vector{{sender,config::active_name}} : get_account_permissions(tx_permission), contract, "transfer", variant_to_bin( contract, N(transfer), transfer )