summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-08-05 12:17:26 +0100
committerChris Michael <cp.michael@samsung.com>2013-08-05 12:17:26 +0100
commit24413bd7ee2adb1a59fe00509e9aa9955b379f14 (patch)
tree8f045191bb407513d90fb50afd0b54eef032d0e0 /src/lib/ecore_audio
parent76766161d2761d82bac085f2746dcb3f2d9ff056 (diff)
Actually declare fd at the top of function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_pulse_ml.c2
1 files changed, 1 insertions, 1 deletions
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)
45 char buf[64]; 45 char buf[64];
46 pa_io_event_flags_t flags = 0; 46 pa_io_event_flags_t flags = 0;
47 pa_io_event *event = (pa_io_event *)data; 47 pa_io_event *event = (pa_io_event *)data;
48 int fd;
48 49
49 if (ecore_main_fd_handler_active_get(handler, ECORE_FD_READ)) 50 if (ecore_main_fd_handler_active_get(handler, ECORE_FD_READ))
50 { 51 {
51 int fd;
52 52
53 flags |= PA_IO_EVENT_INPUT; 53 flags |= PA_IO_EVENT_INPUT;
54 54