mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
tests: fixed some 'unused return value' compiler warnings
This commit is contained in:
10 files changed
+22
-22
No files matched your search
@@ -181,7 +181,7 @@ testInternalSelectGet ()
|
||||
}
|
||||
}
|
||||
else
|
||||
sleep (1);
|
||||
(void)sleep (1);
|
||||
curl_multi_perform (multi, &running);
|
||||
if (running == 0)
|
||||
{
|
||||
|
||||
@@ -207,7 +207,7 @@ testExternalGet (int flags)
|
||||
}
|
||||
}
|
||||
else
|
||||
sleep (1);
|
||||
(void)sleep (1);
|
||||
curl_multi_perform (multi, &running);
|
||||
if (running == 0)
|
||||
{
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user