bgpd: kill unused variable in bgp_socket()

Signed-off-by: Lou Berger <lberger@labn.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 4d80560a2b064182191371fd7e4304bf829a4d9f)
This commit is contained in:
Lou Berger 2016-01-12 13:41:52 -05:00 committed by Daniel Walton
parent 95b9c671be
commit 7a0ff1b285

View File

@ -780,7 +780,7 @@ bgp_socket (unsigned short port, const char *address)
int sock;
int socklen;
struct sockaddr_in sin;
int ret, en;
int ret;
sock = socket (AF_INET, SOCK_STREAM, 0);
if (sock < 0)