From 59c892feaa9be8721f2b8f439a38c07f93e882b0 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 8 Oct 2012 10:03:27 +0000 Subject: [PATCH] fix uninitialized variable, speeding up nsec3dig for non-NSEC3 situations a lot (Kees Monshouwer) git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2784 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/nsec3dig.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/nsec3dig.cc b/pdns/nsec3dig.cc index 853ca0cd65..83efa677d1 100644 --- a/pdns/nsec3dig.cc +++ b/pdns/nsec3dig.cc @@ -95,7 +95,7 @@ try set names; nsec3set nsec3s; string nsec3salt; - int nsec3iters; + int nsec3iters = 0; for(MOADNSParser::answers_t::const_iterator i=mdp.d_answers.begin(); i!=mdp.d_answers.end(); ++i) { if(i->first.d_type == QType::NSEC3) { -- 2.47.3