Remove unused variables in core_loop()
This commit is contained in:
parent
ddb1f738d4
commit
e1ac49d220
@ -1212,14 +1212,9 @@ conn_handle_write_event(int sd, short ev, void *a)
|
|||||||
void
|
void
|
||||||
core_loop(void)
|
core_loop(void)
|
||||||
{
|
{
|
||||||
int is_readable, is_writable, n, sd, bit, min_i, max_i, i =
|
|
||||||
0;
|
|
||||||
fd_set readable, writable;
|
|
||||||
fd_mask mask;
|
|
||||||
|
|
||||||
while (running) {
|
while (running) {
|
||||||
timer_tick();
|
timer_tick();
|
||||||
n = event_loop(EVLOOP_ONCE);
|
(void) event_loop(EVLOOP_ONCE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user