Browse Source

[4294] Compilation fix, minor clean ups

Tomek Mrugalski 8 years ago
parent
commit
9290dab995

+ 0 - 1
src/lib/dhcpsrv/cfg_subnets4.cc

@@ -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();
     }
 }

+ 1 - 1
src/lib/dhcpsrv/memfile_lease_mgr.cc

@@ -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 {

+ 0 - 1
src/lib/dhcpsrv/pgsql_lease_mgr.cc

@@ -765,7 +765,6 @@ public:
         }
 
         // Fetch the lease state.
-        uint32_t state;
         PgSqlExchange::getColumnValue(*result_set_, next_row_ , col,
                                       row.lease_state_);
         ++col;