From 74040ddecb6e25ae81a2a38acc10950d4529bb8d Mon Sep 17 00:00:00 2001 From: Kvarec Lezki Date: Thu, 2 Feb 2023 16:16:01 +0500 Subject: [PATCH] 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 --- lib/fopen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fopen.c b/lib/fopen.c index 52e97e5515..f710dbf05a 100644 --- a/lib/fopen.c +++ b/lib/fopen.c @@ -106,7 +106,6 @@ fail: free(tempstore); - *tempname = NULL; return result; } -- 2.47.3