Commit a518cdb0 authored by Pekka Pessi's avatar Pekka Pessi

su_source.c: silenced warning in su_source_check()

Ignore-this: e2d91a86cc7056d457c25f89680055b4

darcs-hash:20090708161436-db55f-b9e9f5572a95e1452eb3699d4509e7b151707d83.gz
parent 711332c3
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment