]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix coverity CID-602. Possible use of uninitialized var.
authorJeremy Allison <jra@samba.org>
Wed, 18 Feb 2009 23:43:03 +0000 (15:43 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 18 Feb 2009 23:43:03 +0000 (15:43 -0800)
Jeremy.

source/libsmb/namequery.c

index dd3cd56467ba62323a150555dd219b4e659f96d3..d21941efd22c956ed5bbfea6ece7de6d8b372866 100644 (file)
@@ -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;