tests: fixed some 'unused return value' compiler warnings

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2017-10-30 18:39:47 +03:00
1 parent a3e227ea15
commit 80ff0e1596
10 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ testInternalSelectGet ()
}
}
else
sleep (1);
(void)sleep (1);
curl_multi_perform (multi, &running);
if (running == 0)
{
+1 -1
View File
@@ -207,7 +207,7 @@ testExternalGet (int flags)
}
}
else
sleep (1);
(void)sleep (1);
curl_multi_perform (multi, &running);
if (running == 0)
{
+1 -1
View File
@@ -84,7 +84,7 @@ test_tls_session_time_out (gnutls_session_t session, int port)
return -1;
}
sleep (TIME_OUT + 1);
(void)sleep (TIME_OUT + 1);
/* check that server has closed the connection */
/* TODO better RST trigger */