]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2444] Comments around unused parameter
authorThomas Markwalder <tmark@isc.org>
Tue, 21 Jun 2022 17:54:49 +0000 (13:54 -0400)
committerAndrei Pavel <andrei@isc.org>
Tue, 21 Jun 2022 18:18:46 +0000 (18:18 +0000)
src/lib/dhcpsrv/memfile_lease_mgr.cc
    Memfile_LeaseMgr::checkLimits4()
    Memfile_LeaseMgr::checkLimits6() - commented
    out temporarily unused user_context parameter

src/lib/dhcpsrv/memfile_lease_mgr.cc

index f1337b5bcb93eb381ec9a6194716e6a2cd1dadff..c0e20c127c80fd9e33f2775da57c199013662308 100644 (file)
@@ -2060,12 +2060,12 @@ Memfile_LeaseMgr::wipeLeases6(const SubnetID& subnet_id) {
 }
 
 std::string
-Memfile_LeaseMgr::checkLimits4(ConstElementPtr const& user_context) const {
+Memfile_LeaseMgr::checkLimits4(ConstElementPtr const& /* user_context */) const {
     isc_throw(NotImplemented, "Memfile_LeaseMgr::checkLimits4() not implemented");
 }
 
 std::string
-Memfile_LeaseMgr::checkLimits6(ConstElementPtr const& user_context) const {
+Memfile_LeaseMgr::checkLimits6(ConstElementPtr const& /* user_context */) const {
     isc_throw(NotImplemented, "Memfile_LeaseMgr::checkLimits4() not implemented");
 }