2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[4294] Compilation fix for unused parameter

This commit is contained in:
Tomek Mrugalski
2016-08-23 18:50:26 +02:00
parent 180a0b201d
commit 643ced7b1a
2 changed files with 11 additions and 2 deletions

View File

@@ -123,6 +123,11 @@ LeaseMgr::startAddressStatsQuery4() {
return(AddressStatsQuery4Ptr()); return(AddressStatsQuery4Ptr());
} }
bool
AddressStatsQuery4::getNextRow(AddressStatsRow4& /*row*/) {
return (false);
}
void void
LeaseMgr::recountAddressStats6() { LeaseMgr::recountAddressStats6() {
using namespace stats; using namespace stats;
@@ -230,6 +235,10 @@ LeaseMgr::startAddressStatsQuery6() {
return(AddressStatsQuery6Ptr()); return(AddressStatsQuery6Ptr());
} }
bool
AddressStatsQuery6::getNextRow(AddressStatsRow6& /*row*/) {
return (false);
}
std::string std::string
LeaseMgr::getDBVersion() { LeaseMgr::getDBVersion() {

View File

@@ -204,7 +204,7 @@ public:
/// ///
/// @return True if a row was fetched, false if there are no /// @return True if a row was fetched, false if there are no
/// more rows. /// more rows.
virtual bool getNextRow(AddressStatsRow4& row) { return(false); }; virtual bool getNextRow(AddressStatsRow4& row);
}; };
/// @brief Defines a pointer to an AddressStatsQuery4. /// @brief Defines a pointer to an AddressStatsQuery4.
@@ -271,7 +271,7 @@ public:
/// ///
/// @return True if a row was fetched, false if there are no /// @return True if a row was fetched, false if there are no
/// more rows. /// more rows.
virtual bool getNextRow(AddressStatsRow6& row) { return (false); }; virtual bool getNextRow(AddressStatsRow6& row);
}; };
/// @brief Defines a pointer to an AddressStatsQuery6. /// @brief Defines a pointer to an AddressStatsQuery6.