transfer: remove useless assignment

in Curl_xfer_recv_resp

Spotted by CodeSonar

Closes #13435
This commit is contained in:
Daniel Stenberg 2024-04-20 23:21:02 +02:00
parent 727c946d82
commit 8a5fe04c7b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -198,7 +198,6 @@ static ssize_t Curl_xfer_recv_resp(struct Curl_easy *data,
if(*err) if(*err)
return -1; return -1;
DEBUGASSERT(nread >= 0); DEBUGASSERT(nread >= 0);
*err = CURLE_OK;
return nread; return nread;
} }