aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-16 12:18:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-16 12:18:32 +0200
commite9422bc1936f3df60d9f51cfb41adaec74ab9626 (patch)
treea2a68b7ad937021fa6d749a4ada0089b528d507f /tests
parent17c5d05285cfadb0e898c3231346fc29b23b0690 (diff)
libtest/libntlmconnect: fix compiler warnings from f94fcdb
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/libntlmconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c
index aa17f94a3..ad20e8b8f 100644
--- a/tests/libtest/libntlmconnect.c
+++ b/tests/libtest/libntlmconnect.c
@@ -44,8 +44,8 @@ static size_t callback(char *ptr, size_t size, size_t nmemb, void *data)
curl_socket_t sock;
long longdata;
CURLcode code;
-
const size_t failure = (size && nmemb) ? 0 : 1;
+ (void)ptr;
counter[idx] += (int)(size * nmemb);
@@ -91,7 +91,7 @@ int test(char *url)
{
CURLM *multi = NULL;
int running;
- int i, j;
+ int i;
int num_handles = 0;
enum HandleState state = ReadyForNewHandle;
size_t urllen = strlen(url) + 4 + 1;