mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
hash: fix assigning same value
Pointed out by PVS Ref: #10929 Closes #10956
This commit is contained in:
parent
c79356d852
commit
a299099ba4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user