summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-06-16 02:16:58 +0000
committerTim Potter <tpot@samba.org>2003-06-16 02:16:58 +0000
commit145b01a496fcc35cc86cacb1ac79ed754257a7c3 (patch)
tree38673290b5357059da847bd6aa8cd829540e69ec /source3/nsswitch
parent12096155041830a72ef765625f47b82c6d5f5ad7 (diff)
downloadsamba-145b01a496fcc35cc86cacb1ac79ed754257a7c3.tar.gz
samba-145b01a496fcc35cc86cacb1ac79ed754257a7c3.tar.bz2
samba-145b01a496fcc35cc86cacb1ac79ed754257a7c3.zip
Fix some compiler warnings.
(This used to be commit eec1758e048f38e2ac48a7dda96b90a74ec95449)
Diffstat (limited to 'source3/nsswitch')
-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;
}