declare variables at the beginning of the block

SVN revision: 55526
This commit is contained in:
Vincent Torri 2010-12-12 22:46:39 +00:00
parent 562d84c432
commit 27a9f2f86e
1 changed files with 3 additions and 2 deletions

View File

@ -1039,6 +1039,9 @@ _ecore_main_select(double timeout)
fd_set rfds, wfds, exfds;
int max_fd;
int ret;
#ifndef HAVE_EPOLL
Ecore_Fd_Handler *fdh;
#endif
t = NULL;
if ((!finite(timeout)) || (timeout == 0.0)) /* finite() tests for NaN, too big, too small, and infinity. */
@ -1072,8 +1075,6 @@ _ecore_main_select(double timeout)
if (fd_handlers_with_prep)
_ecore_main_prepare_handlers();
#ifndef HAVE_EPOLL
Ecore_Fd_Handler *fdh;
EINA_INLIST_FOREACH(fd_handlers, fdh)
{
if (!fdh->delete_me)