From 5a82c2dbb5a84ac4b1ac8e3f3558876f70c78267 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Wed, 17 Nov 2010 06:41:41 +0000 Subject: [PATCH] clean up unused warnings git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con_ares.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lib/ecore_con/ecore_con_ares.c b/src/lib/ecore_con/ecore_con_ares.c index fc2b426..ef9ad67 100644 --- a/src/lib/ecore_con/ecore_con_ares.c +++ b/src/lib/ecore_con/ecore_con_ares.c @@ -402,7 +402,7 @@ _ecore_con_info_cares_clean(void) } static Eina_Bool -_ecore_con_info_cares_timeout_cb(void *data) +_ecore_con_info_cares_timeout_cb(void *data __UNUSED__) { ares_process(info_channel, &info_readers, &info_writers); _ecore_con_info_cares_clean(); @@ -411,8 +411,8 @@ _ecore_con_info_cares_timeout_cb(void *data) } static Eina_Bool -_ecore_con_info_cares_fd_cb(void *data, - Ecore_Fd_Handler *fd_handler) +_ecore_con_info_cares_fd_cb(void *data __UNUSED__, + Ecore_Fd_Handler *fd_handler __UNUSED__) { ares_process(info_channel, &info_readers, &info_writers); _ecore_con_info_cares_clean(); @@ -423,12 +423,11 @@ _ecore_con_info_cares_fd_cb(void *data, static void _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg, int status, - int timeouts, + int timeouts __UNUSED__, struct hostent *hostent) { struct sockaddr *addr; int addrlen; - int length = 0; /* Found something ? */ switch (status) @@ -575,7 +574,7 @@ on_error: static void _ecore_con_info_ares_nameinfo(Ecore_Con_CAres *arg, int status, - int timeouts, + int timeouts __UNUSED__, char *node, char *service) { -- 2.7.4