diff options
author | James Peach <jpeach@samba.org> | 2006-05-15 06:54:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:03 -0500 |
commit | 39c7fe679ecc3035720091a856c18baa45cbcfae (patch) | |
tree | fde8b8d1bb934e9d6bd64c4fb8e0f34fcba3f6cf | |
parent | f9480025b5192263084c601bdb8d15508a61409c (diff) | |
download | samba-39c7fe679ecc3035720091a856c18baa45cbcfae.tar.gz samba-39c7fe679ecc3035720091a856c18baa45cbcfae.tar.bz2 samba-39c7fe679ecc3035720091a856c18baa45cbcfae.zip |
r15611: Remove used but uninitialised variable "count".
(This used to be commit 71fd0d3de4a02b9a7b67914f6412f18ec0bb5e7a)
-rw-r--r-- | source3/libsmb/namequery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 1033a375c5..0172ab9514 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -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; } |