mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-30 23:51:34 +02: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…
x
Reference in New Issue
Block a user