summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-18 15:43:03 -0800
committerKarolin Seeger <kseeger@samba.org>2009-02-19 10:24:13 +0100
commitb1e95087c7b154b8028b760c694df7711024cd01 (patch)
tree74b82bf434688f3e478fd5d5999d838212c2d692
parentb0d786275fa3b7d59fce6044d59a6cdeb7f22f95 (diff)
downloadsamba-b1e95087c7b154b8028b760c694df7711024cd01.tar.gz
Fix coverity CID-602. Possible use of uninitialized var.
Jeremy. (cherry picked from commit 43db14008eb660f1b1f21e1ff6dd2d340d1106ab)
-rw-r--r--source/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c
index dd3cd56467b..d21941efd22 100644
--- a/source/libsmb/namequery.c
+++ b/source/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;