summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dns.h5
-rw-r--r--src/dns.cpp4
2 files changed, 0 insertions, 9 deletions
diff --git a/include/dns.h b/include/dns.h
index b88f3a247..27c3c8848 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -295,11 +295,6 @@ class CoreExport DNS : public EventHandler
static const int MAX_REQUEST_ID = 0xFFFF;
/**
- * A counter used to form part of the pseudo-random id
- */
- int currid;
-
- /**
* Currently cached items
*/
dnscache* cache;
diff --git a/src/dns.cpp b/src/dns.cpp
index aa340a1de..bede73a6f 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -371,10 +371,6 @@ DNS::DNS()
/* Clear the requests class table */
memset(requests,0,sizeof(requests));
- /* Set the id of the next request to 0
- */
- currid = 0;
-
/* DNS::Rehash() sets this to a valid ptr
*/
this->cache = NULL;