tidy-up: drop redundant != NULL syntax

Where missed by checksrc.

Closes #21932
This commit is contained in:
Viktor Szakats 2026-06-09 13:38:17 +02:00
parent d8c97b021b
commit 59213abfb2
No known key found for this signature in database
32 changed files with 58 additions and 59 deletions

View file

@ -173,7 +173,7 @@ static size_t follow_links(CURLM *multi, struct memory *mem, const char *url)
static int is_html(const char *ctype)
{
return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html");
return ctype && strlen(ctype) > 10 && strstr(ctype, "text/html");
}
int main(void)