From: Aki Tuomi Date: Thu, 6 Feb 2014 11:47:34 +0000 (+0200) Subject: Comment out empty else clauses X-Git-Tag: rec-3.6.0-rc1~191^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77accedb4c64beda91babc99148edc529d8a4a5c;p=thirdparty%2Fpdns.git Comment out empty else clauses --- diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index 14df3a56f3..f404a17c92 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -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!"<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"<