Skip to content
Snippets Groups Projects
Commit d220ac85 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: unreferenced formal parameter

parent c57e7481
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment