Commit abd1f76d authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

removed an unused temporary variable as noted in review comment.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac399@3585 e5f2f494-b856-4b98-b285-d166d9295462
parent 645f3474
...@@ -93,8 +93,6 @@ ZoneTable::remove(const Name& origin) { ...@@ -93,8 +93,6 @@ ZoneTable::remove(const Name& origin) {
ZoneTable::FindResult ZoneTable::FindResult
ZoneTable::find(const Name& name) const { ZoneTable::find(const Name& name) const {
Name qname(name);
// Inefficient internal loop to find a longest match. // Inefficient internal loop to find a longest match.
// This will be replaced with a single call to more intelligent backend. // This will be replaced with a single call to more intelligent backend.
for (int i = 0; i < name.getLabelCount(); ++i) { for (int i = 0; i < name.getLabelCount(); ++i) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment