mirror of
https://github.com/nmap/nmap.git
synced 2026-01-16 19:39:03 +00:00
Remove some unused methods
This commit is contained in:
@@ -78,10 +78,6 @@
|
||||
extern NmapOps o;
|
||||
|
||||
Target::Target() {
|
||||
Initialize();
|
||||
}
|
||||
|
||||
void Target::Initialize() {
|
||||
hostname = NULL;
|
||||
targetname = NULL;
|
||||
memset(&seq, 0, sizeof(seq));
|
||||
@@ -125,11 +121,6 @@ const char * Target::deviceFullName() const {
|
||||
return (devfullname[0] != '\0')? devfullname : NULL;
|
||||
}
|
||||
|
||||
void Target::Recycle() {
|
||||
FreeInternal();
|
||||
Initialize();
|
||||
}
|
||||
|
||||
Target::~Target() {
|
||||
FreeInternal();
|
||||
#ifndef NOLUA
|
||||
|
||||
Reference in New Issue
Block a user