mirror of
https://github.com/curl/curl.git
synced 2026-06-12 21:45:38 +03:00
comment cleanup
This commit is contained in:
parent
aee4043bfc
commit
424a34962c
2 changed files with 4 additions and 4 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue