From: Marcin Siodelski Date: Wed, 27 Apr 2016 15:29:49 +0000 (+0200) Subject: [4303] Removed unnecessary variable initialization. X-Git-Tag: trac4106_update_base~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f5350c042d71d87c6492ab5f8431d7a3bb1d8b;p=thirdparty%2Fkea.git [4303] Removed unnecessary variable initialization. --- diff --git a/src/lib/dhcpsrv/alloc_engine.cc b/src/lib/dhcpsrv/alloc_engine.cc index 489d328bb7..81016c363b 100644 --- a/src/lib/dhcpsrv/alloc_engine.cc +++ b/src/lib/dhcpsrv/alloc_engine.cc @@ -311,9 +311,6 @@ AllocEngine::findReservationInternal(ContextType& ctx, // We can only search for the reservation if a subnet has been selected. if (ctx.subnet_) { - // Check which host reservation mode is supported in this subnet. - Subnet::HRMode hr_mode = ctx.subnet_->getHostReservationMode(); - // Iterate over configured identifiers in the order of preference // and try to use each of them to search for the reservations. BOOST_FOREACH(const IdentifierPair& id_pair, ctx.host_identifiers_) {