BIND 10 master, updated. 4ff65533b470925688c8c5b35af7afcacbf0cdf6 [master] cleanup: removed dead code.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Sep 20 17:46:28 UTC 2012
The branch, master has been updated
via 4ff65533b470925688c8c5b35af7afcacbf0cdf6 (commit)
from af808fad3a5d1de608b799a0e7491ac8eacac8ff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4ff65533b470925688c8c5b35af7afcacbf0cdf6
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Sep 20 10:44:24 2012 -0700
[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.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/memory/zone_finder.cc | 4 ----
1 file changed, 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_finder.cc b/src/lib/datasrc/memory/zone_finder.cc
index 75d3187..cb56b8f 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
More information about the bind10-changes
mailing list