ctl: remove useless assignment
authorDaniel-Constantin Mierla <miconda@gmail.com>
Thu, 27 Jul 2017 16:19:53 +0000 (18:19 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Thu, 27 Jul 2017 16:20:12 +0000 (18:20 +0200)
src/modules/ctl/ctrl_socks.c

index 4449ff7..1538346 100644 (file)
@@ -271,7 +271,6 @@ int init_ctrl_sockets(struct ctrl_socket** c_lst, struct id_list* lst,
                cs->transport=l->proto;
                cs->p_proto=l->data_proto;
                cs->fd=s;
-               s = -1;
                cs->write_fd=extra_fd; /* needed for fifo write */
                cs->name=l->name;
                cs->port=l->port;