]> granicus.if.org Git - pdns/commitdiff
removed unused variables
authorfwsmit <fw.smit01@gmail.com>
Fri, 21 Jun 2019 09:16:24 +0000 (11:16 +0200)
committerfwsmit <fw.smit01@gmail.com>
Fri, 21 Jun 2019 09:16:24 +0000 (11:16 +0200)
pdns/recursordist/test-syncres_cc8.cc

index 9cdc28bacdcf222d851be5d95fb05f30e57836f0..ff99a24aead021b033bd3acc07f6140fb09788fc 100644 (file)
@@ -698,7 +698,7 @@ BOOST_AUTO_TEST_CASE(test_dnssec_rrsig_negcache_bogus_validity) {
   size_t queriesCount = 0;
   const time_t fixedNow = sr->getNow().tv_sec;
 
-  sr->setAsyncCallback([target,&queriesCount,keys,fixedNow](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional<Netmask>& srcmask, boost::optional<const ResolveContext&> context, LWResult* res, bool* chained) {
+  sr->setAsyncCallback([&queriesCount,keys](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional<Netmask>& srcmask, boost::optional<const ResolveContext&> context, LWResult* res, bool* chained) {
       queriesCount++;
 
       DNSName auth = domain;