Browse Source

[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.
JINMEI Tatuya 12 years ago
parent
commit
4ff65533b4
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/lib/datasrc/memory/zone_finder.cc

+ 0 - 4
src/lib/datasrc/memory/zone_finder.cc

@@ -561,10 +561,6 @@ InMemoryZoneFinder::find_internal(const isc::dns::Name& name,
                                  wild, &name));
                                  wild, &name));
     }
     }
 
 
-    const RdataSet* currds = node->getData();
-    while (currds != NULL) {
-        currds = currds->getNext();
-    }
     found = RdataSet::find(node->getData(), type);
     found = RdataSet::find(node->getData(), type);
     if (found != NULL) {
     if (found != NULL) {
         // Good, it is here
         // Good, it is here