libtest drop more

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

View file

@ -68,7 +68,7 @@ static int server_push_callback(CURL *parent,
static unsigned int count = 0;
int rv;
(void)parent; /* we have no use for this */
(void)parent;
curl_msnprintf(filename, sizeof(filename) - 1, "push%u", count++);
/* here's a new stream, save it in a new file for each new push */

View file

@ -42,7 +42,7 @@ static CURLcode test_lib1512(const char *URL)
struct curl_slist *slist = NULL;
size_t i;
char target_url[256];
(void)URL; /* URL is setup in the code */
(void)URL;
if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
curl_mfprintf(stderr, "curl_global_init() failed\n");

View file

@ -35,7 +35,7 @@ static CURLcode test_lib1537(const char *URL)
int outlen = 0;
char *raw;
(void)URL; /* we don't use this */
(void)URL;
if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
curl_mfprintf(stderr, "curl_global_init() failed\n");

View file

@ -30,7 +30,7 @@ static CURLcode test_lib501(const char *URL)
CURLcode res;
CURL *curl;
(void)URL; /* we don't use this */
(void)URL;
if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
curl_mfprintf(stderr, "curl_global_init() failed\n");

View file

@ -33,7 +33,7 @@ static CURLcode test_lib558(const char *URL)
char *ptr = NULL;
int asize;
(void)URL; /* we don't use this */
(void)URL;
if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
curl_mfprintf(stderr, "curl_global_init() failed\n");