Changeset 5804:92490a725fef in nginx


Ignore:
Timestamp:
08/10/14 13:44:46 (6 years ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
default
Phase:
public
Message:

Events: removed unused variable in ngx_poll_process_events().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/event/modules/ngx_poll_module.c

    r5803 r5804  
    241241    int                 ready, revents;
    242242    ngx_err_t           err;
    243     ngx_int_t           nready;
    244243    ngx_uint_t          i, found, level;
    245244    ngx_event_t        *ev, **queue;
     
    300299
    301300    ngx_mutex_lock(ngx_posted_events_mutex);
    302 
    303     nready = 0;
    304301
    305302    for (i = 0; i < nevents && ready; i++) {
     
    415412    }
    416413
    417     return nready;
     414    return NGX_OK;
    418415}
    419416
Note: See TracChangeset for help on using the changeset viewer.