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

@ -770,7 +770,7 @@ curl_socket_t win32_stdin_read_thread(void)
static curl_socket_t socket_r = CURL_SOCKET_BAD;
if(socket_r != CURL_SOCKET_BAD) {
assert(stdin_thread != NULL);
assert(stdin_thread);
return socket_r;
}
assert(stdin_thread == NULL);

View file

@ -154,7 +154,7 @@ static void decc_init(void)
decc_init_done = 1;
/* Loop through all items in the decc_feat_array[]. */
for(i = 0; decc_feat_array[i].name != NULL; i++) {
for(i = 0; decc_feat_array[i].name; i++) {
/* Get the feature index. */
feat_index = decc$feature_get_index(decc_feat_array[i].name);