From bacb6c0f7298eef065ff03e300a79bfef4bd4a78 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Mon, 23 Jul 2012 23:54:21 +0900 Subject: [PATCH] Removed unused variables. --- src/command_ip.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/command_ip.cc b/src/command_ip.cc index 2b960184..13216f5f 100644 --- a/src/command_ip.cc +++ b/src/command_ip.cc @@ -245,9 +245,6 @@ append_table(torrent::ipv4_table::base_type* extent, torrent::Object::list_type& torrent::ipv4_table::table_type::iterator first = extent->table.begin(); torrent::ipv4_table::table_type::iterator last = extent->table.end(); - int current_value = 0; - uint32_t range_first = 0; - while (first != last) { if (first->first != NULL) { // Do something more here?... @@ -266,9 +263,6 @@ append_table(torrent::ipv4_table::base_type* extent, torrent::Object::list_type& torrent::option_as_string(torrent::OPTION_IP_FILTER, first->second)); result.push_back((std::string)buffer); - - range_first = position; - current_value = first->second; } first++;