mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Remove unused variables -- I'm not sure if these were ever actually used
This commit is contained in:
@@ -416,14 +416,10 @@ Target *nexthost(HostGroupState *hs, TargetGroup *exclude_group,
|
|||||||
int i;
|
int i;
|
||||||
struct sockaddr_storage ss;
|
struct sockaddr_storage ss;
|
||||||
size_t sslen;
|
size_t sslen;
|
||||||
struct intf_entry *ifentry;
|
|
||||||
u32 ifbuf[200] ;
|
|
||||||
struct route_nfo rnfo;
|
struct route_nfo rnfo;
|
||||||
bool arpping_done = false;
|
bool arpping_done = false;
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
|
|
||||||
ifentry = (struct intf_entry *) ifbuf;
|
|
||||||
ifentry->intf_len = sizeof(ifbuf); // TODO: May want to use a larger buffer if interface aliases prove important.
|
|
||||||
if (hs->next_batch_no < hs->current_batch_sz) {
|
if (hs->next_batch_no < hs->current_batch_sz) {
|
||||||
/* Woop! This is easy -- we just pass back the next host struct */
|
/* Woop! This is easy -- we just pass back the next host struct */
|
||||||
return hs->hostbatch[hs->next_batch_no++];
|
return hs->hostbatch[hs->next_batch_no++];
|
||||||
|
|||||||
Reference in New Issue
Block a user