Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
97f5350c
Commit
97f5350c
authored
Apr 27, 2016
by
Marcin Siodelski
Browse files
[4303] Removed unnecessary variable initialization.
parent
aec8c636
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/alloc_engine.cc
View file @
97f5350c
...
...
@@ -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_
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment