mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
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.
This commit is contained in:
parent
aac6c1d03a
commit
a2f308a8f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue