aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib540.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-07-26 19:42:16 +0200
committerYang Tse <yangsita@gmail.com>2011-07-26 19:42:16 +0200
commit78bbd0eecff23203dd8a1aa2dd76143af9a90b7b (patch)
tree7012069d3acc2b88a1ba09bc202fb3a4eb454fc6 /tests/libtest/lib540.c
parentf1586cb4775681810afd8e6626e7842d459f3b85 (diff)
fix compiler warning
Diffstat (limited to 'tests/libtest/lib540.c')
-rw-r--r--tests/libtest/lib540.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c
index 6647ab399..8fb409f07 100644
--- a/tests/libtest/lib540.c
+++ b/tests/libtest/lib540.c
@@ -76,7 +76,6 @@ static int loop(CURLM *cm, const char* url, const char* userpwd,
struct curl_slist *headers)
{
CURLMsg *msg;
- CURLMcode code;
long L;
int M, Q, U = -1;
fd_set R, W, E;
@@ -87,7 +86,7 @@ static int loop(CURLM *cm, const char* url, const char* userpwd,
while (U) {
- code = curl_multi_perform(cm, &U);
+ (void) curl_multi_perform(cm, &U);
if (U) {
FD_ZERO(&R);