From 24413bd7ee2adb1a59fe00509e9aa9955b379f14 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Aug 2013 12:17:26 +0100 Subject: [PATCH] Actually declare fd at the top of function. Signed-off-by: Chris Michael --- src/lib/ecore_audio/ecore_audio_pulse_ml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_audio/ecore_audio_pulse_ml.c b/src/lib/ecore_audio/ecore_audio_pulse_ml.c index ce41c7e9a6..7abf7c23a2 100644 --- a/src/lib/ecore_audio/ecore_audio_pulse_ml.c +++ b/src/lib/ecore_audio/ecore_audio_pulse_ml.c @@ -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;