mirror of
https://github.com/curl/curl.git
synced 2026-08-07 17:53:00 +03:00
tidy-up: drop redundant != NULL syntax
Where missed by checksrc. Closes #21932
This commit is contained in:
parent
d8c97b021b
commit
59213abfb2
32 changed files with 58 additions and 59 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue