From 999bdfc47eecb107645271aa1074f1a898a53d40 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 21 Apr 2024 17:29:18 +0200 Subject: [PATCH] sendf: useless assignment in cr_lc_read() Spotted by CodeSonar Closes #13437 --- lib/sendf.c | 1 - 1 file changed, 1 deletion(-) 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; }