diff options
author | Yang Tse <yangsita@gmail.com> | 2008-05-26 13:52:25 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-05-26 13:52:25 +0000 |
commit | 940b551d2a9432702c9b9d43ab039425412a1148 (patch) | |
tree | 405044375009f210710c37652de669a75220c9a3 /ahost.c | |
parent | 9fae0a48b1e1d6ae338a955ff34749d7216b2c86 (diff) | |
download | c-ares-940b551d2a9432702c9b9d43ab039425412a1148.tar.gz c-ares-940b551d2a9432702c9b9d43ab039425412a1148.tar.bz2 c-ares-940b551d2a9432702c9b9d43ab039425412a1148.zip |
fix compiler warning: unreferenced formal parameter
Diffstat (limited to 'ahost.c')
-rw-r--r-- | ahost.c | 2 |
1 files changed, 2 insertions, 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)); |