]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sendf: useless assignment in cr_lc_read()
authorDaniel Stenberg <daniel@haxx.se>
Sun, 21 Apr 2024 15:29:18 +0000 (17:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Apr 2024 10:58:30 +0000 (12:58 +0200)
Spotted by CodeSonar

Closes #13437

lib/sendf.c

index 0fc82525231b9954d7f53f2dfe7661a6807d9585..65fcaa389e9ff3bcd106b339780f0df168c902a6 100644 (file)
@@ -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;
     }