[svn] commit: r703 - /branches/parkinglot/src/lib/cc/cpp/data.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Feb 2 15:47:51 UTC 2010


Author: jelte
Date: Tue Feb  2 15:47:51 2010
New Revision: 703

Log:
forgot one

Modified:
    branches/parkinglot/src/lib/cc/cpp/data.cc

Modified: branches/parkinglot/src/lib/cc/cpp/data.cc
==============================================================================
--- branches/parkinglot/src/lib/cc/cpp/data.cc (original)
+++ branches/parkinglot/src/lib/cc/cpp/data.cc Tue Feb  2 15:47:51 2010
@@ -872,9 +872,8 @@
 
 bool
 MapElement::find(const std::string& id, ElementPtr& t) {
-    ElementPtr p;
     try {
-        p = find(id);
+        ElementPtr p = find(id);
         if (p) {
             t = p;
             return true;




More information about the bind10-changes mailing list