Commit affd7207 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[master] Corrected two minor cppchecks.

parent f93e6fba
......@@ -41,7 +41,7 @@ D2Dhcpv4Srv::d2ClientErrorHandler(const
const bool Dhcp4SrvD2Test::SHOULD_PASS;
const bool Dhcp4SrvD2Test::SHOULD_FAIL;
Dhcp4SrvD2Test::Dhcp4SrvD2Test() {
Dhcp4SrvD2Test::Dhcp4SrvD2Test() : rcode_(-1) {
}
Dhcp4SrvD2Test::~Dhcp4SrvD2Test() {
......
......@@ -106,6 +106,7 @@ public:
FD_ZERO(&read_fds);
int select_fd = -1;
// cppcheck-suppress redundantAssignment
ASSERT_NO_THROW(select_fd = getSelectFd());
FD_SET(select_fd, &read_fds);
......
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