vtls: skip a "useless assignment"

Pointed out by CodeSonar

Closes #15117
This commit is contained in:
Daniel Stenberg 2024-10-02 07:41:47 +02:00
parent b0c82239c2
commit 8c76ae317f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1750,7 +1750,6 @@ static ssize_t ssl_cf_send(struct Curl_cfilter *cf,
*err = CURLE_OK;
if(len > 0) {
CF_DATA_SAVE(save, cf, data);
*err = CURLE_OK;
nwritten = Curl_ssl->send_plain(cf, data, buf, len, err);
CF_DATA_RESTORE(cf, save);
}