summaryrefslogtreecommitdiff
path: root/source3/nsswitch/wins.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/wins.c')
-rw-r--r--source3/nsswitch/wins.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/nsswitch/wins.c b/source3/nsswitch/wins.c
index 9bb2d6755c..61edb1323b 100644
--- a/source3/nsswitch/wins.c
+++ b/source3/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;
}