summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/nsswitch/wins.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/nsswitch/wins.c b/source/nsswitch/wins.c
index 9bb2d6755cb..61edb1323b0 100644
--- a/source/nsswitch/wins.c
+++ b/source/nsswitch/wins.c
@@ -113,7 +113,6 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
{
int fd = -1;
struct in_addr *ret = NULL;
- struct in_addr p;
int j, flags = 0;
if (!initialised) {
@@ -139,7 +138,6 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
if (ret) break;
}
-out:
close(fd);
return ret;
}