diff --git a/portlist.cc b/portlist.cc index 17517212b..eb8094f35 100644 --- a/portlist.cc +++ b/portlist.cc @@ -113,7 +113,6 @@ Port::Port() { rpc_status = RPC_STATUS_UNTESTED; rpc_program = rpc_lowver = rpc_highver = 0; state = 0; - next = NULL; serviceprobe_results = PROBESTATE_INITIAL; serviceprobe_service = NULL; serviceprobe_product = serviceprobe_version = serviceprobe_extrainfo = NULL; diff --git a/portlist.h b/portlist.h index 2827d2be7..cc4e09c5b 100644 --- a/portlist.h +++ b/portlist.h @@ -226,8 +226,6 @@ class Port { unsigned long rpc_program; /* Only valid if rpc_state == RPC_STATUS_GOOD_PROG */ unsigned int rpc_lowver; unsigned int rpc_highver; - Port *next; /* Internal use only -- we sometimes like to link them - together */ enum serviceprobestate serviceprobe_results; // overall results of service scan char *serviceprobe_service; // If a service was discovered, points to the name // Any of these next three can be NULL if the details are not available