Problem: redundant else after return

Solution: remove else
This commit is contained in:
Simon Giesecke
2019-12-08 15:04:50 +01:00
committed by Simon Giesecke
parent 1d9c6bcf09
commit cb2b377d9f
16 changed files with 49 additions and 53 deletions

View File

@@ -160,9 +160,9 @@ static void test_resolve (zmq::ip_resolver_options_t opts_,
// TODO also check the expected errno
TEST_ASSERT_EQUAL (-1, rc);
return;
} else {
TEST_ASSERT_SUCCESS_ERRNO (rc);
}
TEST_ASSERT_SUCCESS_ERRNO (rc);
validate_address (family, &addr, expected_addr_, expected_port_,
expected_zone_, expected_addr_v4_failover_);