[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 97/256: unit1606: Fixed shadowed variable warning
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 97/256: unit1606: Fixed shadowed variable warning |
Date: |
Fri, 06 Oct 2017 19:43:08 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 82604c500755d94ab2422edc5151e99972344104
Author: Dan Fandrich <address@hidden>
AuthorDate: Mon Aug 28 23:54:25 2017 +0200
unit1606: Fixed shadowed variable warning
---
tests/unit/unit1606.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/tests/unit/unit1606.c b/tests/unit/unit1606.c
index df9c89ced..9da0b70b6 100644
--- a/tests/unit/unit1606.c
+++ b/tests/unit/unit1606.c
@@ -43,8 +43,7 @@ static void unit_stop(void)
curl_global_cleanup();
}
-static int runawhile(struct Curl_easy *easy,
- long time_limit,
+static int runawhile(long time_limit,
long speed_limit,
curl_off_t speed,
int dec)
@@ -75,16 +74,16 @@ static int runawhile(struct Curl_easy *easy,
}
UNITTEST_START
- fail_unless(runawhile(easy, 41, 41, 40, 0) == 41,
+ fail_unless(runawhile(41, 41, 40, 0) == 41,
"wrong low speed timeout");
- fail_unless(runawhile(easy, 21, 21, 20, 0) == 21,
+ fail_unless(runawhile(21, 21, 20, 0) == 21,
"wrong low speed timeout");
- fail_unless(runawhile(easy, 60, 60, 40, 0) == 60,
+ fail_unless(runawhile(60, 60, 40, 0) == 60,
"wrong log speed timeout");
- fail_unless(runawhile(easy, 50, 50, 40, 0) == 50,
+ fail_unless(runawhile(50, 50, 40, 0) == 50,
"wrong log speed timeout");
- fail_unless(runawhile(easy, 40, 40, 40, 0) == 99,
+ fail_unless(runawhile(40, 40, 40, 0) == 99,
"should not time out");
- fail_unless(runawhile(easy, 10, 50, 100, 2) == 36,
+ fail_unless(runawhile(10, 50, 100, 2) == 36,
"bad timeout");
UNITTEST_STOP
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 88/256: docs/examples: demonstrate how to select SSL backends, (continued)
- [GNUnet-SVN] [gnurl] 88/256: docs/examples: demonstrate how to select SSL backends, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 61/256: vtls: use consistent signature for _random() implementations, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 92/256: vtls: use Curl_ssl_multi pseudo backend only when needed, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 83/256: vtls: fold the backend ID into the Curl_ssl structure, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 68/256: vtls: move md5sum into the Curl_ssl struct, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 45/256: tool_main: turn off MinGW CRT's globbing, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 25/256: system.h: remove all CURL_SIZEOF_* defines, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 96/256: asyn-thread: Improved cleanup after OOM situations, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 42/256: cmake: enable picky compiler options with clang and gcc, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 76/256: vtls: move SSL backends' private constants out of their header files, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 97/256: unit1606: Fixed shadowed variable warning,
gnunet <=
- [GNUnet-SVN] [gnurl] 65/256: vtls: introduce a new struct for SSL backends, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 86/256: vtls: introduce curl_global_sslset(), gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 105/256: curl.h: CURLSSLBACKEND_WOLFSSL used wrong value, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 77/256: getinfo: access SSL internals via Curl_ssl, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 87/256: Add a man page for curl_global_sslset(), gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 103/256: curl/multi.h: remove duplicated closing c++ brace, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 43/256: config-win32: define SIZEOF_LONG, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 94/256: configure: Handle "MultiSSL" specially When versioning symbols, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 57/256: tests: Make sure libtests & unittests call curl_global_cleanup(), gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 67/256: vtls: use the Curl_ssl struct to access all SSL backends' functionality, gnunet, 2017/10/06