Skip to content

Commit

Permalink
Remove unused vars/members
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Oct 7, 2016
1 parent 6e5caeb commit b0ed680
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion modules/bindbackend/bindbackend2.cc
Expand Up @@ -665,7 +665,6 @@ void Bind2Backend::reload()
void Bind2Backend::fixupOrderAndAuth(BB2DomainInfo& bbd, bool nsec3zone, NSEC3PARAMRecordContent ns3pr)
{
shared_ptr<recordstorage_t> records = bbd.d_records.getWRITABLE();
recordstorage_t::const_iterator iter;

bool skip;
DNSName shorter;
Expand Down
9 changes: 0 additions & 9 deletions pdns/ueberbackend.cc
Expand Up @@ -51,8 +51,6 @@ extern StatBag S;
vector<UeberBackend *>UeberBackend::instances;
pthread_mutex_t UeberBackend::instances_lock=PTHREAD_MUTEX_INITIALIZER;

sem_t UeberBackend::d_dynserialize;

// initially we are blocked
bool UeberBackend::d_go=false;
pthread_mutex_t UeberBackend::d_mut = PTHREAD_MUTEX_INITIALIZER;
Expand Down Expand Up @@ -626,13 +624,6 @@ bool UeberBackend::get(DNSZoneRecord &rr)
return true;
}

bool UeberBackend::list(const DNSName &target, int domain_id, bool include_disabled)
{
L<<Logger::Error<<"UeberBackend::list called, should NEVER EVER HAPPEN"<<endl;
exit(1);
return false;
}

bool UeberBackend::searchRecords(const string& pattern, int maxResults, vector<DNSResourceRecord>& result)
{
bool rc = false;
Expand Down
4 changes: 0 additions & 4 deletions pdns/ueberbackend.hh
Expand Up @@ -55,7 +55,6 @@ class UeberBackend : public boost::noncopyable
public:
UeberBackend(const string &pname="default");
~UeberBackend();
typedef DNSBackend *BackendMaker(); //!< typedef for functions returning pointers to new backends

bool superMasterBackend(const string &ip, const DNSName &domain, const vector<DNSResourceRecord>&nsset, string *nameserver, string *account, DNSBackend **db);

Expand Down Expand Up @@ -106,12 +105,10 @@ public:
bool getAuth(DNSPacket *p, SOAData *sd, const DNSName &target);
bool getSOA(const DNSName &domain, SOAData &sd, DNSPacket *p=0);
bool getSOAUncached(const DNSName &domain, SOAData &sd, DNSPacket *p=0); // same, but ignores cache
bool list(const DNSName &target, int domain_id, bool include_disabled=false);
bool get(DNSResourceRecord &r);
bool get(DNSZoneRecord &r);
void getAllDomains(vector<DomainInfo> *domains, bool include_disabled=false);

static DNSBackend *maker(const map<string,string> &);
void getUnfreshSlaveInfos(vector<DomainInfo>* domains);
void getUpdatedMasters(vector<DomainInfo>* domains);
bool getDomainInfo(const DNSName &domain, DomainInfo &di);
Expand Down Expand Up @@ -145,7 +142,6 @@ private:

static pthread_mutex_t d_mut;
static pthread_cond_t d_cond;
static sem_t d_dynserialize;

struct Question
{
Expand Down

0 comments on commit b0ed680

Please sign in to comment.