diff --git a/uri.c b/uri.c index 906f0364..0f198404 100644 --- a/uri.c +++ b/uri.c @@ -506,13 +506,9 @@ coap_parse_iterator_init(unsigned char *s, size_t n, unsigned char separator, unsigned char *delim, size_t dlen, coap_parse_iterator_t *pi) { - assert(s); assert(pi); assert(separator); - if (!s || !n) - return NULL; - pi->separator = separator; pi->delim = delim; pi->dlen = dlen;