bufq: removed "Useless Assignment"

Pointed out by CodeSonar. Made a comment instead.

Closes #18322
This commit is contained in:
Daniel Stenberg 2025-08-20 08:38:57 +02:00
parent faa2db202b
commit 74432bbe6e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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;