comment cleanup

This commit is contained in:
Viktor Szakats 2025-09-02 22:33:25 +02:00
parent aee4043bfc
commit 424a34962c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 4 additions and 4 deletions

View file

@ -661,7 +661,7 @@ static size_t mime_mem_read(char *buffer, size_t size, size_t nitems,
{
curl_mimepart *part = (curl_mimepart *) instream;
size_t sz = curlx_sotouz(part->datasize - part->state.offset);
(void)size; /* Always 1.*/
(void)size; /* Always 1 */
if(!nitems)
return STOP_FILLING;
@ -1000,7 +1000,7 @@ static size_t mime_subparts_read(char *buffer, size_t size, size_t nitems,
{
curl_mime *mime = (curl_mime *) instream;
size_t cursize = 0;
(void)size; /* Always 1. */
(void)size; /* Always 1 */
while(nitems) {
size_t sz = 0;
@ -1593,7 +1593,7 @@ size_t Curl_mime_read(char *buffer, size_t size, size_t nitems, void *instream)
size_t ret;
bool hasread;
(void)size; /* Always 1. */
(void)size; /* Always 1 */
/* If `nitems` is <= 4, some encoders will return STOP_FILLING without
* adding any data and this loops infinitely. */

View file

@ -35,7 +35,7 @@ static size_t t668_read_cb(char *ptr, size_t size, size_t nmemb, void *userp)
struct t668_WriteThis *pooh = (struct t668_WriteThis *)userp;
size_t len = strlen(pooh->readptr);
(void)size; /* Always 1.*/
(void)size; /* Always 1 */
if(len > nmemb)
len = nmemb;