1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00

r15611: Remove used but uninitialised variable "count".

This commit is contained in:
James Peach
2006-05-15 06:54:13 +00:00
committed by Gerald (Jerry) Carter
parent b108ab7b12
commit 71fd0d3de4

View File

@@ -1024,7 +1024,7 @@ static BOOL resolve_hosts(const char *name, int name_type,
static BOOL resolve_ads(const char *name, int name_type,
struct ip_service **return_iplist, int *return_count)
{
int count, i = 0;
int i = 0;
NTSTATUS status;
TALLOC_CTX *ctx;
struct dns_rr_srv *dcs = NULL;
@@ -1047,7 +1047,7 @@ static BOOL resolve_ads(const char *name, int name_type,
}
if ( (*return_iplist = SMB_MALLOC_ARRAY(struct ip_service, numdcs)) == NULL ) {
DEBUG(0,("resolve_ads: malloc failed for %d entries\n", count ));
DEBUG(0,("resolve_ads: malloc failed for %d entries\n", numdcs ));
return False;
}