mirror of
https://github.com/curl/curl.git
synced 2026-05-18 09:26:21 +03:00
fix compiler warning: unreferenced formal parameter
This commit is contained in:
parent
c57e748107
commit
d220ac8582
1 changed files with 2 additions and 0 deletions
|
|
@ -142,6 +142,8 @@ static void callback(void *arg, int status, int timeouts, struct hostent *host)
|
|||
{
|
||||
char **p;
|
||||
|
||||
(void)timeouts;
|
||||
|
||||
if (status != ARES_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "%s: %s\n", (char *) arg, ares_strerror(status));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue