From 578449da2314e72c19c5908ec5cfa66ced0dc1e1 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 25 Oct 2008 00:24:32 +0000 Subject: [PATCH] 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. --- portlist.cc | 2 +- portlist.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/portlist.cc b/portlist.cc index 78388cfa2..7cfeedb61 100644 --- a/portlist.cc +++ b/portlist.cc @@ -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; diff --git a/portlist.h b/portlist.h index 46468927c..a77068e2e 100644 --- a/portlist.h +++ b/portlist.h @@ -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