mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Remove the unused "confidence" member of the Port class. This is not the same
as the "name_confidence" member of a service match. I grepped the whole source tree and couldn't find any reference to "confidence" besides its declaration and initialization; it builds fine without it.
This commit is contained in:
parent
99de55975c
commit
578449da23
2 changed files with 1 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ Port::Port() {
|
|||
owner = NULL;
|
||||
rpc_status = RPC_STATUS_UNTESTED;
|
||||
rpc_program = rpc_lowver = rpc_highver = 0;
|
||||
state = confidence = 0;
|
||||
state = 0;
|
||||
next = NULL;
|
||||
serviceprobe_results = PROBESTATE_INITIAL;
|
||||
serviceprobe_service = NULL;
|
||||
|
|
|
|||
|
|
@ -224,7 +224,6 @@ class Port {
|
|||
u8 proto;
|
||||
char *owner;
|
||||
int state;
|
||||
int confidence; /* How sure are we about the state? */
|
||||
state_reason_t reason;
|
||||
|
||||
#ifndef NOLUA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue