strparse: split a multi-line assert into many separate ones
No binary (build failed)
—
(log yok)
| @@ -49,9 +49,14 @@ void curlx_str_trim(struct Curl_str *out, size_t len) | |
| int curlx_str_until(const char **linep, struct Curl_str *out, | |
| const size_t max, char delim) | |
| { | |
| - | const char *s = *linep; |
| + | const char *s; |
| size_t len = 0; | |
| - | DEBUGASSERT(linep && *linep && out && max && delim); |
| + | DEBUGASSERT(linep); |
| + | DEBUGASSERT(*linep); |
| + | DEBUGASSERT(out); |
| + | DEBUGASSERT(max); |
| + | DEBUGASSERT(delim); |
| + | s = *linep; |
| curlx_str_init(out); | |
| while(*s && (*s != delim)) { | |