forked from Mirrors/freeswitch
Wed Jul 8 11:14:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_source.c: silenced warning in su_source_check() git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14195 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
897bc5abea
commit
a01ac9a899
|
@ -1 +1 @@
|
|||
Thu Jul 9 19:52:59 CDT 2009
|
||||
Thu Jul 9 19:53:33 CDT 2009
|
||||
|
|
|
@ -427,20 +427,21 @@ gboolean su_source_check(GSource *gs)
|
|||
SuSource *ss = (SuSource *)gs;
|
||||
su_port_t *self = ss->ss_port;
|
||||
gint tout;
|
||||
unsigned I;
|
||||
#if SU_HAVE_POLL
|
||||
unsigned i, I;
|
||||
#endif
|
||||
|
||||
enter;
|
||||
|
||||
#if SU_HAVE_POLL
|
||||
I = self->sup_n_waits;
|
||||
|
||||
#if SU_HAVE_POLL
|
||||
unsigned i;
|
||||
for (i = 0; i < I; i++) {
|
||||
if (self->sup_waits[i].revents)
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
(void)I;
|
||||
|
||||
return su_source_prepare(gs, &tout);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue