tree-wide: use ASSERT_PTR more

This commit is contained in:
David Tardon
2022-09-13 08:13:27 +02:00
parent 6d64cb0625
commit 995340074e
220 changed files with 1071 additions and 2323 deletions
+1 -2
View File
@@ -144,9 +144,8 @@ int parse_socket_bind_item(
parse_token_f const *parser_ptr = parsers;
int af = AF_UNSPEC, proto = 0, r;
uint16_t nr = 0, mn = 0;
const char *p = str;
const char *p = ASSERT_PTR(str);
assert(str);
assert(address_family);
assert(ip_protocol);
assert(nr_ports);