mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:37:16 +03:00
bufq: removed "Useless Assignment"
Pointed out by CodeSonar. Made a comment instead. Closes #18322
This commit is contained in:
parent
faa2db202b
commit
74432bbe6e
1 changed files with 1 additions and 2 deletions
|
|
@ -602,8 +602,7 @@ static CURLcode bufq_slurpn(struct bufq *q, size_t max_len,
|
|||
break;
|
||||
}
|
||||
else if(n == 0) {
|
||||
/* eof */
|
||||
result = CURLE_OK;
|
||||
/* eof, result remains CURLE_OK */
|
||||
break;
|
||||
}
|
||||
*pnread += n;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue