Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiller-nmap committed Apr 6, 2023
1 parent 603ab59 commit 2df7b47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packetWin7/Dll/AdInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ static BOOLEAN PacketGetAdaptersAirpcap()
{
CHAR Ebuf[AIRPCAP_ERRBUF_SIZE];
AirpcapDeviceDescription *Devs = NULL, *TmpDevs;
UINT i;

TRACE_ENTER();

Expand All @@ -440,7 +439,7 @@ static BOOLEAN PacketGetAdaptersAirpcap()
TRACE_EXIT();
return FALSE;
}
for(TmpDevs = Devs, i = 0; TmpDevs != NULL; TmpDevs = TmpDevs->next)
for(TmpDevs = Devs; TmpDevs != NULL; TmpDevs = TmpDevs->next)
{
PADAPTER_INFO TmpAdInfo = NULL;
// If the adapter is valid, add it to the list.
Expand Down

0 comments on commit 2df7b47

Please sign in to comment.