diff options
author | Tim Potter <tpot@samba.org> | 2003-06-16 02:16:58 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-06-16 02:16:58 +0000 |
commit | eec1758e048f38e2ac48a7dda96b90a74ec95449 (patch) | |
tree | 1c3a0bf1c5e1cfdedcec1639277a7a929366bc6b /source/nsswitch | |
parent | ac69b9c83cde306f89143fe43038adff876dd0b0 (diff) | |
download | samba-eec1758e048f38e2ac48a7dda96b90a74ec95449.tar.gz samba-eec1758e048f38e2ac48a7dda96b90a74ec95449.tar.xz samba-eec1758e048f38e2ac48a7dda96b90a74ec95449.zip |
Fix some compiler warnings.
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/wins.c | 2 |
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; } |