Fixed dead assignments.

Found by Clang Static Analyzer.
This commit is contained in:
Max Romanov
2021-08-03 13:59:27 +03:00
parent fa9fb29be2
commit db03dfad67
6 changed files with 3 additions and 10 deletions

View File

@@ -347,8 +347,6 @@ nxt_port_main_start_process_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
nxt_process_init_t *init;
nxt_common_app_conf_t *app_conf;
ret = NXT_ERROR;
rt = task->thread->runtime;
process = nxt_main_process_new(task, rt);