mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34: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,
|
||||
struct GROUP_POLICY_OBJECT *gpo)
|
||||
{
|
||||
ADS_STATUS status;
|
||||
ADS_STATUS status = ADS_ERROR(LDAP_NO_SUCH_OBJECT);
|
||||
LDAPMessage *res = NULL;
|
||||
char *dn;
|
||||
const char *filter;
|
||||
|
Loading…
Reference in New Issue
Block a user