gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 27/208: libtest/libntlmconnect: fix compiler warnin


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 27/208: libtest/libntlmconnect: fix compiler warnings from f94fcdb
Date: Wed, 09 Aug 2017 17:33:44 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit e9422bc1936f3df60d9f51cfb41adaec74ab9626
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Jun 16 12:18:18 2017 +0200

    libtest/libntlmconnect: fix compiler warnings from f94fcdb
---
 tests/libtest/libntlmconnect.c | 4 ++--
 1 file 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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]