Fix 'unused variable'.

SVN revision: 51290
This commit is contained in:
Christopher Michael 2010-08-18 16:26:20 +00:00
parent b1d8f83639
commit b82186120a
1 changed files with 4 additions and 1 deletions

View File

@ -817,7 +817,6 @@ _ecore_main_select(double timeout)
fd_set rfds, wfds, exfds;
int max_fd;
int ret;
Ecore_Fd_Handler *fdh;
t = NULL;
if ((!finite(timeout)) || (timeout == 0.0)) /* finite() tests for NaN, too big, too small, and infinity. */
@ -850,6 +849,8 @@ _ecore_main_select(double timeout)
/* call the prepare callback for all handlers */
_ecore_main_prepare_handlers();
#ifndef HAVE_EPOLL
Ecore_Fd_Handler *fdh;
EINA_INLIST_FOREACH(fd_handlers, fdh)
{
if (!fdh->delete_me)
@ -894,6 +895,8 @@ _ecore_main_select(double timeout)
#ifdef HAVE_EPOLL
_ecore_main_fdh_epoll_mark_active();
#else /* HAVE_EPOLL */
Ecore_Fd_Handler *fdh;
EINA_INLIST_FOREACH(fd_handlers, fdh)
{
if (!fdh->delete_me)