From 9290dab9955fc3000402536976c75da1c486a573 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Wed, 24 Aug 2016 23:00:38 +0200 Subject: [PATCH] [4294] Compilation fix, minor clean ups --- src/lib/dhcpsrv/cfg_subnets4.cc | 1 - src/lib/dhcpsrv/memfile_lease_mgr.cc | 2 +- src/lib/dhcpsrv/pgsql_lease_mgr.cc | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/dhcpsrv/cfg_subnets4.cc b/src/lib/dhcpsrv/cfg_subnets4.cc index 5dcb413d4e..f1c7a8f658 100644 --- a/src/lib/dhcpsrv/cfg_subnets4.cc +++ b/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(); } } diff --git a/src/lib/dhcpsrv/memfile_lease_mgr.cc b/src/lib/dhcpsrv/memfile_lease_mgr.cc index bfc57dccbf..79c4020f90 100644 --- a/src/lib/dhcpsrv/memfile_lease_mgr.cc +++ b/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 { diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.cc b/src/lib/dhcpsrv/pgsql_lease_mgr.cc index 6b2bb5920e..3ea7475484 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.cc +++ b/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; -- 2.47.2