[sr-dev] git:master:6ddca2e0: ctl: remove useless assignment
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jul 27 18:20:24 CEST 2017
Module: kamailio
Branch: master
Commit: 6ddca2e08bc8159ed00c80f6857df58c81cbd97d
URL: https://github.com/kamailio/kamailio/commit/6ddca2e08bc8159ed00c80f6857df58c81cbd97d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/6ddca2e08bc8159ed00c80f6857df58c81cbd97d.diff
Patch: https://github.com/kamailio/kamailio/commit/6ddca2e08bc8159ed00c80f6857df58c81cbd97d.patch
---
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;
More information about the sr-dev
mailing list