2
0
mirror of https://github.com/curl/curl.git synced 2025-02-11 14:50:40 +08:00

hash: fix assigning same value

Pointed out by PVS

Ref: 
Closes 
This commit is contained in:
Daniel Stenberg 2023-04-13 13:06:55 +02:00
parent c79356d852
commit a299099ba4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -330,7 +330,6 @@ Curl_hash_next_element(struct Curl_hash_iterator *iter)
struct Curl_hash_element *he = iter->current_element->ptr;
return he;
}
iter->current_element = NULL;
return NULL;
}