diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-04-13 13:06:55 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-04-14 09:26:26 +0200 |
commit | a299099ba4e2bac95c4d4ba8e54d5cba9d906ae1 (patch) | |
tree | 74d54768f3d5f61f7ee9e20c71f58eaa9ee6d81c /lib/hash.c | |
parent | c79356d85235cdbd393c73f62ac36520f30db2fa (diff) | |
download | curl-a299099ba4e2bac95c4d4ba8e54d5cba9d906ae1.tar.gz |
hash: fix assigning same value
Pointed out by PVS
Ref: #10929
Closes #10956
Diffstat (limited to 'lib/hash.c')
-rw-r--r-- | lib/hash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c index 06ce92cbd..30f28e235 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -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; } |