Actually declare fd at the top of function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-05 12:17:26 +01:00
parent 76766161d2
commit 24413bd7ee
1 changed files with 1 additions and 1 deletions

View File

@ -45,10 +45,10 @@ _ecore_io_wrapper(void *data, Ecore_Fd_Handler *handler)
char buf[64];
pa_io_event_flags_t flags = 0;
pa_io_event *event = (pa_io_event *)data;
int fd;
if (ecore_main_fd_handler_active_get(handler, ECORE_FD_READ))
{
int fd;
flags |= PA_IO_EVENT_INPUT;