Commit 894bf2cf authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Added a check on rcode avoiding unused errors

parent 6561e8f8
......@@ -924,6 +924,7 @@ TEST_F(ParseConfigTest, emptyOptionData) {
int rcode = 0;
ASSERT_NO_THROW(rcode = parseConfiguration(config));
EXPECT_EQ(0, rcode);
const Option6AddrLstPtr opt = boost::dynamic_pointer_cast<
Option6AddrLst>(getOptionPtr("dhcp6", D6O_DHCPV4_O_DHCPV6_SERVER));
ASSERT_TRUE(opt);
......
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