From 145b01a496fcc35cc86cacb1ac79ed754257a7c3 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 16 Jun 2003 02:16:58 +0000 Subject: Fix some compiler warnings. (This used to be commit eec1758e048f38e2ac48a7dda96b90a74ec95449) --- source3/nsswitch/wins.c | 2 -- 1 file changed, 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; } -- cgit