Commit 00d6ca04 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[2765] Initialize variable used in unit test to prevent compilation failure

parent 331b10dc
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment