mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-18 12:19:30 +01:00
remove unnecessary variable.
This commit is contained in:
parent
c61debd881
commit
5398ebd94a
@ -881,7 +881,7 @@ NetworkInterface::List NetworkInterface::list(bool ipOnly, bool upOnly)
|
||||
const List& ipList = it->second.addressList();
|
||||
List::const_iterator ipIt = ipList.begin();
|
||||
List::const_iterator ipEnd = ipList.end();
|
||||
for (int counter = 0; ipIt != ipEnd; ++ipIt, ++counter)
|
||||
for (; ipIt != ipEnd; ++ipIt)
|
||||
{
|
||||
IPAddress addr = ipIt->get<NetworkInterface::IP_ADDRESS>();
|
||||
IPAddress mask = ipIt->get<NetworkInterface::SUBNET_MASK>();
|
||||
|
Loading…
Reference in New Issue
Block a user