From: JINMEI Tatuya Date: Thu, 20 Sep 2012 17:44:24 +0000 (-0700) Subject: [master] cleanup: removed dead code. X-Git-Tag: trac2351_base~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff65533b470925688c8c5b35af7afcacbf0cdf6;p=thirdparty%2Fkea.git [master] cleanup: removed dead code. I suspect it was a leftover of an intermediate attempt that ended up with found = RdataSet::find(node->getData(), type); at commi 32f6a873. Whatever the intent was, it's clear the code does nothing, so cleaning it up shouldn't harm anyway. okayed on jabber. --- diff --git a/src/lib/datasrc/memory/zone_finder.cc b/src/lib/datasrc/memory/zone_finder.cc index 75d3187551..cb56b8f8b6 100644 --- a/src/lib/datasrc/memory/zone_finder.cc +++ b/src/lib/datasrc/memory/zone_finder.cc @@ -561,10 +561,6 @@ InMemoryZoneFinder::find_internal(const isc::dns::Name& name, wild, &name)); } - const RdataSet* currds = node->getData(); - while (currds != NULL) { - currds = currds->getNext(); - } found = RdataSet::find(node->getData(), type); if (found != NULL) { // Good, it is here