mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 23:59:22 +00:00
Removed unused variables.
This commit is contained in:
@@ -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 first = extent->table.begin();
|
||||||
torrent::ipv4_table::table_type::iterator last = extent->table.end();
|
torrent::ipv4_table::table_type::iterator last = extent->table.end();
|
||||||
|
|
||||||
int current_value = 0;
|
|
||||||
uint32_t range_first = 0;
|
|
||||||
|
|
||||||
while (first != last) {
|
while (first != last) {
|
||||||
if (first->first != NULL) {
|
if (first->first != NULL) {
|
||||||
// Do something more here?...
|
// 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));
|
torrent::option_as_string(torrent::OPTION_IP_FILTER, first->second));
|
||||||
|
|
||||||
result.push_back((std::string)buffer);
|
result.push_back((std::string)buffer);
|
||||||
|
|
||||||
range_first = position;
|
|
||||||
current_value = first->second;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
first++;
|
first++;
|
||||||
|
|||||||
Reference in New Issue
Block a user