mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
fopen: remove unnecessary assignment
[CWE-1164] V1048: The '* tempname' variable was assigned the same value. Ref: https://pvs-studio.com/en/docs/warnings/v1048/ Closes https://github.com/curl/curl/pull/10398
This commit is contained in:
parent
62097a7ea4
commit
74040ddecb
@ -106,7 +106,6 @@ fail:
|
||||
|
||||
free(tempstore);
|
||||
|
||||
*tempname = NULL;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user