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:
Kvarec Lezki 2023-02-02 16:16:01 +05:00 committed by Jay Satiro
parent 62097a7ea4
commit 74040ddecb

View File

@ -106,7 +106,6 @@ fail:
free(tempstore);
*tempname = NULL;
return result;
}