From 0cceac7d660415ce67a1d4242f4958e140fea00a Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 21 Feb 2019 10:27:57 +0300 Subject: [PATCH] conn_tool: compilation warnings fixed --- src/connectivity_tool/conn_tool.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/connectivity_tool/conn_tool.cpp b/src/connectivity_tool/conn_tool.cpp index 08edbcf2..e29adcf2 100644 --- a/src/connectivity_tool/conn_tool.cpp +++ b/src/connectivity_tool/conn_tool.cpp @@ -268,7 +268,7 @@ struct payment_method_summary void process_payment_entrie(payment_method_summary& pms, const std::string& amount_in_coin, uint64_t amount_in_this, const std::string& to_usd_rate) { double d_amount_in_coin = std::stod(amount_in_coin); - double d_to_usd_rate = std::stod(to_usd_rate); + // double d_to_usd_rate = std::stod(to_usd_rate); //CHECK_AND_ASSERT_THROW_MES(d_amount_in_coin, "unable to parse amount_in_coin: " << amount_in_coin); CHECK_AND_ASSERT_THROW_MES(amount_in_this, "unable to parse amount_this"); //CHECK_AND_ASSERT_THROW_MES(d_to_usd_rate, "unable to parse to_usd_rate: " << to_usd_rate); @@ -960,7 +960,6 @@ bool handle_download_peer_log(po::variables_map& vm) const uint64_t chunk_size = 1024 * 1024 * 5; uint64_t end_offset = start_offset; - uint64_t bytes = 0; while (true) { req.log_chunk_offset = end_offset;