Module: kamailio
Branch: master
Commit: 6ddca2e08bc8159ed00c80f6857df58c81cbd97d
URL:
https://github.com/kamailio/kamailio/commit/6ddca2e08bc8159ed00c80f6857df58…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-27T18:20:12+02:00
ctl: remove useless assignment
---
Modified: src/modules/ctl/ctrl_socks.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6ddca2e08bc8159ed00c80f6857df58…
Patch:
https://github.com/kamailio/kamailio/commit/6ddca2e08bc8159ed00c80f6857df58…
---
diff --git a/src/modules/ctl/ctrl_socks.c b/src/modules/ctl/ctrl_socks.c
index 4449ff7c76..1538346206 100644
--- a/src/modules/ctl/ctrl_socks.c
+++ b/src/modules/ctl/ctrl_socks.c
@@ -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;