]> granicus.if.org Git - pdns/commitdiff
Remove dead code in secpoll-auth
authorAki Tuomi <cmouse@desteem.org>
Tue, 29 Sep 2015 18:36:12 +0000 (21:36 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 3 Oct 2015 21:52:45 +0000 (00:52 +0300)
fix cid#1248963

pdns/secpoll-auth.cc

index 19fd94e9fd4e280f64084726debc3faab0a34da9..ea395eb7c333900e9b3a6a3b9c1d1e06b31d5716 100644 (file)
@@ -171,9 +171,6 @@ void doSecPoll(bool first)
       L<<Logger::Warning<<"Could not retrieve security status update for '" + pkgv + "' on '"+query+"', RCODE = "<< RCode::to_s(res)<<endl;
     else
       L<<Logger::Warning<<"Not validating response for security status update, this a non-release version."<<endl;
-
-    if(security_status == 1) // it was ok, not it is unknown
-      security_status = 0;
   }
 
   if(security_status == 1 && first) {