]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] cleanup: removed a redundant copy construction of LabelSequence.
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 27 Sep 2012 19:00:31 +0000 (12:00 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 27 Sep 2012 19:00:31 +0000 (12:00 -0700)
okayed on jabber.

src/lib/datasrc/memory/zone_finder.cc

index 4dddc2c399ceb33e99173e4ceb8f910f1a54a47b..7e7b74558e4ac44c8fe01819db59897b72d44613 100644 (file)
@@ -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);