summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-18 15:45:49 -0800
committerJeremy Allison <jra@samba.org>2009-02-18 15:45:49 -0800
commitc9295c93d13744dc8f25e5877625f13be9de7327 (patch)
treeb22d71829ba293959e73888be70a9345665d94cd /source3/libsmb
parentcf5ba874de04393bd9bfdbb1cbfbeb78485acbc7 (diff)
downloadsamba-c9295c93d13744dc8f25e5877625f13be9de7327.tar.gz
samba-c9295c93d13744dc8f25e5877625f13be9de7327.tar.bz2
samba-c9295c93d13744dc8f25e5877625f13be9de7327.zip
Fix coverity CID-602. Possible use of uninitialized var.
Jeremy.
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index ac38d40271..5a5da68cca 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -2141,7 +2141,7 @@ NTSTATUS get_sorted_dc_list( const char *domain,
int *count,
bool ads_only )
{
- bool ordered;
+ bool ordered false;
NTSTATUS status;
enum dc_lookup_type lookup_type = DC_NORMAL_LOOKUP;