1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 13:41:29 +00:00

fix minor compilation bug and unused variable

This commit is contained in:
fyodor
2006-07-04 23:23:03 +00:00
parent 9c0af0a95b
commit b5c6d48c87
2 changed files with 1 additions and 2 deletions

View File

@@ -269,7 +269,7 @@ class PortList {
* must be called before any PortList object will be created. */ * must be called before any PortList object will be created. */
static void initializePortMap(int protocol, u16 *ports, int portcount); static void initializePortMap(int protocol, u16 *ports, int portcount);
/* Free memory used by port_map. It should be done somewhere before quitting*/ /* Free memory used by port_map. It should be done somewhere before quitting*/
static void PortList::freePortMap(); static void freePortMap();
/* Add a new port to this list. If the state has changed, it is /* Add a new port to this list. If the state has changed, it is
OK to call this function to effect the change */ OK to call this function to effect the change */

View File

@@ -3631,7 +3631,6 @@ void pos_scan(Target *target, u16 *portarray, int numports, stype scantype) {
struct timeval now; struct timeval now;
struct connectsockinfo csi; struct connectsockinfo csi;
struct rpcscaninfo rsi; struct rpcscaninfo rsi;
char hostname[1200];
unsigned long j; unsigned long j;
struct serviceDeductions sd; struct serviceDeductions sd;
bool doingOpenFiltered = false; bool doingOpenFiltered = false;