]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2204] removed an obsolete comment that only made sense for the previous code.
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 9 Oct 2012 20:28:08 +0000 (13:28 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 11 Oct 2012 17:04:38 +0000 (10:04 -0700)
src/bin/auth/datasrc_config.h

index 678b87f55654a7e752d5bdfbc255b3da050c7675..5707c6c8a0dd9025caba9b215acdb4121f1cbbeb 100644 (file)
@@ -58,10 +58,8 @@ configureDataSourceGeneric(const isc::data::ConstElementPtr& config) {
 
     boost::shared_ptr<ListMap> new_lists(new ListMap);
 
-    // Get the configuration and current state.
-    const Map& map(config->mapValue());
-
     // Go through the configuration and create corresponding list.
+    const Map& map(config->mapValue());
     for (Map::const_iterator it(map.begin()); it != map.end(); ++it) {
         const isc::dns::RRClass rrclass(it->first);
         ListPtr list(new List(rrclass));