From: discomfitor Date: Wed, 17 Nov 2010 06:41:41 +0000 (+0000) Subject: clean up unused warnings X-Git-Tag: build/2012-07-04.173327~1495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a82c2dbb5a84ac4b1ac8e3f3558876f70c78267;p=profile%2Fivi%2Fecore.git clean up unused warnings git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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) {