Permalink
Browse files

Coverity fixes

  • Loading branch information...
1 parent 973efd3 commit f17c93b4eaeda07d06ddedc2dc9c0e64b1f3d891 Ruben d'Arco committed Aug 16, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 modules/mydnsbackend/mydnsbackend.cc
  2. +1 −0 pdns/ws.cc
@@ -62,6 +62,7 @@ MyDNSBackend::MyDNSBackend(const string &suffix) {
d_rrwhere=(mustDo("rr-active")?"active = 1 and ":"")+getArg("rr-where");
d_soawhere=(mustDo("soa-active")?"active = 1 and ":"")+getArg("soa-where");
d_useminimalttl=mustDo("use-minimal-ttl");
+ d_minimum=0;
L<<Logger::Warning<<backendName<<" Connection successful"<<endl;
}
View
@@ -43,6 +43,7 @@ StatWebServer::StatWebServer()
d_start=time(0);
d_min10=d_min5=d_min1=0;
d_ws = 0;
+ d_tid = 0;
if(arg().mustDo("webserver"))
d_ws = new WebServer(arg()["webserver-address"], arg().asNum("webserver-port"),arg()["webserver-password"]);
}

0 comments on commit f17c93b

Please sign in to comment.