1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 20:59:01 +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:
david
2008-10-25 00:24:32 +00:00
parent 99de55975c
commit 578449da23
2 changed files with 1 additions and 2 deletions

View File

@@ -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;

View File

@@ -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