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
894bf2cf
Commit
894bf2cf
authored
Nov 11, 2015
by
Francis Dupont
Browse files
[master] Added a check on rcode avoiding unused errors
parent
6561e8f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
View file @
894bf2cf
...
...
@@ -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
);
...
...
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