commit | 4d80560a2b064182191371fd7e4304bf829a4d9f | [log] [tgz] |
---|---|---|
author | Lou Berger <lberger@labn.net> | Tue Jan 12 13:41:52 2016 -0500 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 26 14:11:42 2016 +0000 |
tree | d99a5c6f87bc92e0201afa263b4bd853e07a26b1 | |
parent | 3e841d3b49bdb475ce793eee5d82e5137dff57d3 [diff] |
bgpd: kill unused variable in bgp_socket() Signed-off-by: Lou Berger <lberger@labn.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index 81a6a79..d11cbc3 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c
@@ -556,7 +556,7 @@ int sock; int socklen; struct sockaddr_in sin; - int ret, en; + int ret; sock = socket (AF_INET, SOCK_STREAM, 0); if (sock < 0)