diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_router.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 1f96a1df..180d7017 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -681,11 +681,9 @@ static void nxt_router_listen_socket_create(nxt_task_t *task, void *obj, void *data) { nxt_listen_event_t *listen; - nxt_event_engine_t *engine; nxt_listen_socket_t *ls; nxt_socket_conf_joint_t *joint; - engine = obj; joint = data; ls = &joint->socket_conf->listen; @@ -864,7 +862,7 @@ nxt_router_thread_exit_handler(nxt_task_t *task, void *obj, void *data) nxt_event_engine_t *engine; nxt_thread_handle_t handle; - handle = obj; + handle = (nxt_thread_handle_t) obj; link = data; nxt_thread_wait(handle); |