]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4294] Compilation fix for unused parameter
authorTomek Mrugalski <tomasz@isc.org>
Tue, 23 Aug 2016 16:50:26 +0000 (18:50 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 23 Aug 2016 16:50:26 +0000 (18:50 +0200)
src/lib/dhcpsrv/lease_mgr.cc
src/lib/dhcpsrv/lease_mgr.h

index d5aa90dfdca510aefdc747fd61a4b974871c330a..b3c34f13ad64d727209c79ec6f1e5f19c102cb58 100644 (file)
@@ -123,6 +123,11 @@ LeaseMgr::startAddressStatsQuery4() {
     return(AddressStatsQuery4Ptr());
 }
 
+bool
+AddressStatsQuery4::getNextRow(AddressStatsRow4& /*row*/) {
+    return (false);
+}
+
 void
 LeaseMgr::recountAddressStats6() {
     using namespace stats;
@@ -230,6 +235,10 @@ LeaseMgr::startAddressStatsQuery6() {
     return(AddressStatsQuery6Ptr());
 }
 
+bool
+AddressStatsQuery6::getNextRow(AddressStatsRow6& /*row*/) {
+    return (false);
+}
 
 std::string
 LeaseMgr::getDBVersion() {
index a8f21b100959aafa7b252d98ec32265c25408354..679b7b9b6c52c19f7b95f790076ede6a5f58785e 100644 (file)
@@ -204,7 +204,7 @@ public:
     ///
     /// @return True if a row was fetched, false if there are no
     /// more rows.
-    virtual bool getNextRow(AddressStatsRow4& row) { return(false); };
+    virtual bool getNextRow(AddressStatsRow4& row);
 };
 
 /// @brief Defines a pointer to an AddressStatsQuery4.
@@ -271,7 +271,7 @@ public:
     ///
     /// @return True if a row was fetched, false if there are no
     /// more rows.
-    virtual bool getNextRow(AddressStatsRow6& row) { return (false); };
+    virtual bool getNextRow(AddressStatsRow6& row);
 };
 
 /// @brief Defines a pointer to an AddressStatsQuery6.