mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
libgpo: Make sure status is intialized
Found by cppcheck. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13680 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
9c37ed26f0
commit
159f753732
@ -474,7 +474,7 @@ ADS_STATUS ads_get_gpo(ADS_STRUCT *ads,
|
|||||||
const char *guid_name,
|
const char *guid_name,
|
||||||
struct GROUP_POLICY_OBJECT *gpo)
|
struct GROUP_POLICY_OBJECT *gpo)
|
||||||
{
|
{
|
||||||
ADS_STATUS status;
|
ADS_STATUS status = ADS_ERROR(LDAP_NO_SUCH_OBJECT);
|
||||||
LDAPMessage *res = NULL;
|
LDAPMessage *res = NULL;
|
||||||
char *dn;
|
char *dn;
|
||||||
const char *filter;
|
const char *filter;
|
||||||
|
Loading…
Reference in New Issue
Block a user