From: Jeremy Allison Date: Wed, 18 Feb 2009 23:43:03 +0000 (-0800) Subject: Fix coverity CID-602. Possible use of uninitialized var. X-Git-Tag: samba-3.3.1~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1e95087c7b154b8028b760c694df7711024cd01;p=thirdparty%2Fsamba.git Fix coverity CID-602. Possible use of uninitialized var. Jeremy. (cherry picked from commit 43db14008eb660f1b1f21e1ff6dd2d340d1106ab) --- 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;