1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Fix some compiler warnings.

This commit is contained in:
Tim Potter -
parent ac69b9c83c
commit eec1758e04

View File

@ -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;
}