]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4294] Compilation fix, minor clean ups
authorTomek Mrugalski <tomasz@isc.org>
Wed, 24 Aug 2016 21:00:38 +0000 (23:00 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 24 Aug 2016 21:00:38 +0000 (23:00 +0200)
src/lib/dhcpsrv/cfg_subnets4.cc
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/pgsql_lease_mgr.cc

index 5dcb413d4e2ded3032f3948d847216cb86d9833e..f1c7a8f65820b7d16c5b85f8fd9df8df43143efb 100644 (file)
@@ -269,7 +269,6 @@ CfgSubnets4::updateStatistics() {
 
     // Only recount the stats if we have subnets.
     if (subnets_.begin() != subnets_.end()) {
-            //LeaseMgrFactory::instance().recountAddressStats4();
             LeaseMgrFactory::instance().recountLeaseStats4();
     }
 }
index bfc57dccbfa1bca16dd6d038ad8f51aa6674af53..79c4020f9067d61f1c21e87462b3443a1338d9c4 100644 (file)
@@ -259,7 +259,7 @@ LFCSetup::getExitStatus() const {
 
 /// @brief Base Memfile derivation of the statistical lease data query
 ///
-/// This class provides the functionality such as results storgae and row
+/// This class provides the functionality such as results storage and row
 /// fetching common to fulfilling the statistical lease data query.
 ///
 class MemfileLeaseStatsQuery : public LeaseStatsQuery {
index 6b2bb5920ea74efc809d83f47e2534824d232db9..3ea7475484c56bd2de6079f2480b8537c426d000 100644 (file)
@@ -765,7 +765,6 @@ public:
         }
 
         // Fetch the lease state.
-        uint32_t state;
         PgSqlExchange::getColumnValue(*result_set_, next_row_ , col,
                                       row.lease_state_);
         ++col;