From 501e82d570e405cb50bf923251334ad4e9bbe09b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 14 Dec 1999 14:23:58 +0000 Subject: [PATCH] (do_connect): remove bogus local block variable git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7596 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/push/push.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/appl/push/push.c b/appl/push/push.c index 92dca6025..c623584d4 100644 --- a/appl/push/push.c +++ b/appl/push/push.c @@ -112,8 +112,6 @@ do_connect (const char *hostname, int port, int nodelay) errx (1, "getaddrinfo(%s): %s", hostname, gai_strerror(error)); for (a = ai; a != NULL; a = a->ai_next) { - int s; - s = socket (a->ai_family, a->ai_socktype, a->ai_protocol); if (s < 0) continue;