From: Daniel Stenberg Date: Sun, 21 Apr 2024 15:29:18 +0000 (+0200) Subject: sendf: useless assignment in cr_lc_read() X-Git-Tag: curl-8_8_0~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=999bdfc47eecb107645271aa1074f1a898a53d40;p=thirdparty%2Fcurl.git sendf: useless assignment in cr_lc_read() Spotted by CodeSonar Closes #13437 --- diff --git a/lib/sendf.c b/lib/sendf.c index 0fc8252523..65fcaa389e 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -965,7 +965,6 @@ static CURLcode cr_lc_read(struct Curl_easy *data, ctx->eos = TRUE; *pnread = nread; *peos = ctx->eos; - result = CURLE_OK; goto out; }