]> granicus.if.org Git - pdns/commitdiff
Comment out empty else clauses
authorAki Tuomi <cmouse@desteem.org>
Thu, 6 Feb 2014 11:47:34 +0000 (13:47 +0200)
committerAki Tuomi <cmouse@desteem.org>
Fri, 7 Feb 2014 07:48:47 +0000 (09:48 +0200)
pdns/recursor_cache.cc

index 14df3a56f371a9778c3722d630c65a19a4f6eb5e..f404a17c92b540a6404736a4329ebec6f07ad135 100644 (file)
@@ -115,9 +115,9 @@ int MemRecursorCache::get(time_t now, const string &qname, const QType& qt, set<
     d_cachecache=d_cache.equal_range(tie(qname));
     d_cachecachevalid=true;
   }
-  else
-    //    cerr<<"had cache cache hit!"<<endl;
-    ;
+/*  else
+        cerr<<"had cache cache hit!"<<endl;
+    ;*/
 
   if(res)
     res->clear();
@@ -239,8 +239,8 @@ void MemRecursorCache::replace(time_t now, const string &qname, const QType& qt,
     ce.d_auth = true;
     isNew=true;           // data should be sorted again
   }
-  else
-    ; //cerr<<"\tNot nuking"<<endl;
+/*  else
+       cerr<<"\tNot nuking"<<endl; */
 
   // make sure we don't accidentally merge old and new unauth data
   if(!auth && !ce.d_auth) {