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