summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_socket.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-12-28 15:58:01 +0300
committerMax Romanov <max.romanov@nginx.com>2017-12-28 15:58:01 +0300
commitb59535b22c73b04ed85c0bc1287203e3449c645b (patch)
tree1654bb472dd7b3c0848d7513881e82e051b074d3 /src/nxt_port_socket.c
parent47bc1c53d6af98a4b2ea39e18a9fd3f1f81afc69 (diff)
downloadunit-b59535b22c73b04ed85c0bc1287203e3449c645b.tar.gz
unit-b59535b22c73b04ed85c0bc1287203e3449c645b.tar.bz2
Removed unused variable assignment.
Found by Coverity (CID 215301).
Diffstat (limited to 'src/nxt_port_socket.c')
-rw-r--r--src/nxt_port_socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_port_socket.c b/src/nxt_port_socket.c
index 6d762bbd..34e57a3c 100644
--- a/src/nxt_port_socket.c
+++ b/src/nxt_port_socket.c
@@ -720,7 +720,6 @@ nxt_port_read_msg_process(nxt_task_t *task, nxt_port_t *port,
if (msg->port_msg.mmap) {
nxt_port_mmap_read(task, msg);
- b = msg->buf;
}
nxt_buf_chain_add(&fmsg->buf, msg->buf);