mirror of
https://github.com/curl/curl.git
synced 2026-07-23 23:47:15 +03:00
transfer: skip extra assign
The 'result' variable already contains CURLE_OK at this point, no use in setting it again. Pointed out by PVS. Ref: #10929 Closes #10944
This commit is contained in:
parent
3f1d89ed24
commit
19c36f5ca3
1 changed files with 0 additions and 1 deletions
|
|
@ -1235,7 +1235,6 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
|
||||
/* Now update the "done" boolean we return */
|
||||
*done = (0 == (k->keepon&(KEEP_RECVBITS|KEEP_SENDBITS))) ? TRUE : FALSE;
|
||||
result = CURLE_OK;
|
||||
out:
|
||||
if(result)
|
||||
DEBUGF(infof(data, DMSG(data, "Curl_readwrite() -> %d"), result));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue