BIND 10 master, updated. ac07f31fa2182962f4e958330fc460abeac350d5 [master] cleanup: removed a redundant copy construction of LabelSequence.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Sep 27 19:01:00 UTC 2012


The branch, master has been updated
       via  ac07f31fa2182962f4e958330fc460abeac350d5 (commit)
      from  34a2c9541c16578175eb928b9ea3f3c7755965d3 (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 ac07f31fa2182962f4e958330fc460abeac350d5
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Sep 27 12:00:31 2012 -0700

    [master] cleanup: removed a redundant copy construction of LabelSequence.
    
    okayed on jabber.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/memory/zone_finder.cc |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_finder.cc b/src/lib/datasrc/memory/zone_finder.cc
index 4dddc2c..7e7b745 100644
--- a/src/lib/datasrc/memory/zone_finder.cc
+++ b/src/lib/datasrc/memory/zone_finder.cc
@@ -490,9 +490,8 @@ FindNodeResult findNode(const ZoneData& zone_data,
             // Clear the node_path so that we don't keep incorrect (NSEC)
             // context
             node_path.clear();
-            ZoneTree::Result result = tree.find(LabelSequence(wildcard_ls),
-                                                &node, node_path, cutCallback,
-                                                &state);
+            ZoneTree::Result result = tree.find(wildcard_ls, &node, node_path,
+                                                cutCallback, &state);
             // Otherwise, why would the domain_flag::WILD be there if
             // there was no wildcard under it?
             assert(result == ZoneTree::EXACTMATCH);



More information about the bind10-changes mailing list