From a2f308a8f8248d506cf7953630600fbd9148cf4e Mon Sep 17 00:00:00 2001 From: henri Date: Fri, 13 Jul 2012 21:18:03 +0000 Subject: [PATCH] Removed duplicate declaration of a msiod *nsi variable. It's used two times, in two separate blocks of the function. Therefore it was declared twice (once per block), then got moved toplevel but the second declaration was forgotten somehow. This doesn't actually change anything (identical objdump -d diff) but makes code nicer. --- nsock/src/engine_epoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsock/src/engine_epoll.c b/nsock/src/engine_epoll.c index eb62d19f9..929a36f7e 100644 --- a/nsock/src/engine_epoll.c +++ b/nsock/src/engine_epoll.c @@ -376,7 +376,7 @@ void iterate_through_event_lists(mspool *nsp, int evcount) { /* cull timeouts amongst the non active IODs */ while (current != NULL && GH_LIST_ELEM_PREV(current) != last) { - msiod *nsi = (msiod *)GH_LIST_ELEM_DATA(current); + nsi = (msiod *)GH_LIST_ELEM_DATA(current); if (nsi->state != NSIOD_STATE_DELETED && nsi->events_pending) process_iod_events(nsp, nsi, EV_NONE);