tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2f677eddefa5f9840032b23f44338362c556250f
commit 2f677eddefa5f9840032b23f44338362c556250f Author: Vincent Torri <vincent.to...@gmail.com> Date: Thu Jul 2 13:10:55 2015 +0200 Ecore_Con_Ares: fix undefined variable warning --- src/lib/ecore_con/ecore_con_ares.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_con/ecore_con_ares.c b/src/lib/ecore_con/ecore_con_ares.c index 6276183..e1c7934 100644 --- a/src/lib/ecore_con/ecore_con_ares.c +++ b/src/lib/ecore_con/ecore_con_ares.c @@ -434,8 +434,11 @@ _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg, struct hostent *hostent) { struct sockaddr *addr; + Ecore_Con_Server_Data *svr; int addrlen; + svr = eo_data_scope_get(arg->svr, ECORE_CON_SERVER_CLASS); + /* Found something ? */ switch (status) { @@ -446,8 +449,6 @@ _ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg, goto on_error; } - Ecore_Con_Server_Data *svr = eo_data_scope_get(arg->svr, ECORE_CON_SERVER_CLASS); - switch (hostent->h_addrtype) { case AF_INET: --