]> granicus.if.org Git - pdns/commitdiff
Remove AnswerData.created time field as it doesn't seem to be referenced anywhere...
authorMark Zealey <mark@markandruth.co.uk>
Sat, 14 Dec 2013 21:47:15 +0000 (23:47 +0200)
committerMark Zealey <mark@markandruth.co.uk>
Sat, 14 Dec 2013 21:47:15 +0000 (23:47 +0200)
pdns/distributor.hh

index 6818c3f2d03428181d0a928f7641fa8e6aa9536f..77b46295ea72dc939f7f522a70ccbaaf20e111e0 100644 (file)
@@ -55,7 +55,6 @@ extern StatBag S;
 template<class Answer>struct AnswerData
 {
   Answer *A;
-  time_t created;
 };
 
 template<class Answer, class Question, class Backend> class Distributor
@@ -252,7 +251,6 @@ template<class Answer, class Question, class Backend>void *MultiThreadDistributo
 
       AnswerData<Answer> AD;
       AD.A=a;
-      AD.created=time(0);
 
       QD.callback(AD);
     }
@@ -288,7 +286,6 @@ template<class Answer, class Question, class Backend>int SingleThreadDistributor
   }
   AnswerData<Answer> AD;
   AD.A=a;
-  AD.created=time(0);
   callback(AD);
   return 0;
 }