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
Sebastian Schrader
Kea
Commits
00d6ca04
Commit
00d6ca04
authored
Nov 29, 2013
by
Marcin Siodelski
Browse files
[2765] Initialize variable used in unit test to prevent compilation failure
parent
331b10dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/tests/pkt_filter_unittest.cc
View file @
00d6ca04
...
...
@@ -58,7 +58,7 @@ TEST_F(PktFilterBaseClassTest, openFallbackSocket) {
// Now that we have the socket open, let's try to open another one. This
// should cause a binding error.
int
another_sock
;
int
another_sock
=
-
1
;
EXPECT_THROW
(
another_sock
=
pkt_filter
.
openFallbackSocket
(
IOAddress
(
"127.0.0.1"
),
PORT
),
isc
::
dhcp
::
SocketConfigError
)
...
...
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